diff options
Diffstat (limited to 'fs/fat')
-rw-r--r-- | 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 bf326d4356a3..8ae32e37673c 100644 --- a/fs/fat/namei_vfat.c +++ b/fs/fat/namei_vfat.c | |||
@@ -78,7 +78,7 @@ static int vfat_revalidate_ci(struct dentry *dentry, struct nameidata *nd) | |||
78 | * for creation. | 78 | * for creation. |
79 | */ | 79 | */ |
80 | if (!(nd->flags & (LOOKUP_CONTINUE | LOOKUP_PARENT))) { | 80 | if (!(nd->flags & (LOOKUP_CONTINUE | LOOKUP_PARENT))) { |
81 | if (nd->flags & LOOKUP_CREATE) | 81 | if (nd->flags & (LOOKUP_CREATE | LOOKUP_RENAME_TARGET)) |
82 | return 0; | 82 | return 0; |
83 | } | 83 | } |
84 | 84 | ||