git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fat: drop negative dentry on rename() path
[safe/jmp/linux-2.6]
/
fs
/
fat
/
namei_vfat.c
diff --git
a/fs/fat/namei_vfat.c
b/fs/fat/namei_vfat.c
index
bf326d4
..
8ae32e3
100644
(file)
--- 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)
* for creation.
*/
if (!(nd->flags & (LOOKUP_CONTINUE | LOOKUP_PARENT))) {
- if (nd->flags &
LOOKUP_CREATE
)
+ if (nd->flags &
(LOOKUP_CREATE | LOOKUP_RENAME_TARGET)
)
return 0;
}