1 Jan 2009 01:59
fat: drop negative dentry on rename() path
Linux Kernel Mailing List <linux-kernel <at> vger.kernel.org>
2009-01-01 00:59:07 GMT
2009-01-01 00:59:07 GMT
Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ebeb0406f153db51ab2d4771faf2342bd6ca14dd Commit: ebeb0406f153db51ab2d4771faf2342bd6ca14dd Parent: f21f237cf55494c3a4209de323281a3b0528da10 Author: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp> AuthorDate: Wed Nov 12 07:48:00 2008 +0900 Committer: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp> CommitDate: Wed Nov 12 08:51:22 2008 +0900 fat: drop negative dentry on rename() path Drop the negative dentry on rename() path, in order to make sure to use the case sensitive name which is specified by user if this is for creation. For it, this uses newly added LOOKUP_RENAME_TARGET like LOOKUP_CREATE. Signed-off-by: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp> --- fs/fat/namei_vfat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/fat/namei_vfat.c b/fs/fat/namei_vfat.c index bf326d4..8ae32e3 100644 --- a/fs/fat/namei_vfat.c +++ b/fs/fat/namei_vfat.c <at> <at> -78,7 +78,7 <at> <at> static int vfat_revalidate_ci(struct dentry *dentry, struct nameidata *nd) * for creation. */ if (!(nd->flags & (LOOKUP_CONTINUE | LOOKUP_PARENT))) { - if (nd->flags & LOOKUP_CREATE)(Continue reading)
RSS Feed