Re: [PATCH] f2fs: update file name in the inode block during f2fs_rename

2013-07-22 Thread Jaegeuk Kim
Hi Al, 2013-07-19 (금), 08:49 +0100, Al Viro: > On Fri, Jul 19, 2013 at 12:40:47PM +0900, Kim Jaegeuk wrote: > > Hi, > > > > 2013. 7. 18. 6:22?? "Al Viro" : > > > > > > On Thu, Jul 18, 2013 at 06:11:23PM +0900, Jaegeuk Kim wrote: > > > > The error is reproducible by: > > > > > > > >

Re: [PATCH] f2fs: update file name in the inode block during f2fs_rename

2013-07-19 Thread Al Viro
On Fri, Jul 19, 2013 at 12:40:47PM +0900, Kim Jaegeuk wrote: > Hi, > > 2013. 7. 18. 6:22?? "Al Viro" : > > > > On Thu, Jul 18, 2013 at 06:11:23PM +0900, Jaegeuk Kim wrote: > > > The error is reproducible by: > > > > > > After this, when we retrieve the inode->i_name of test2 by dump.

Re: [PATCH] f2fs: update file name in the inode block during f2fs_rename

2013-07-18 Thread Al Viro
On Thu, Jul 18, 2013 at 06:11:23PM +0900, Jaegeuk Kim wrote: > The error is reproducible by: > > After this, when we retrieve the inode->i_name of test2 by dump.f2fs, we get > test1 instead of test2. > This is because f2fs didn't update the file name during the f2fs_rename. Er... Correct me if I

[PATCH] f2fs: update file name in the inode block during f2fs_rename

2013-07-18 Thread Jaegeuk Kim
The error is reproducible by: After this, when we retrieve the inode->i_name of test2 by dump.f2fs, we get test1 instead of test2. This is because f2fs didn't update the file name during the f2fs_rename. So, this patch fixes that. Signed-off-by: Jaegeuk Kim --- fs/f2fs/dir.c | 15 +++