]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/fat/namei_vfat.c
ath5k: update LED table with reported devices
[linux-2.6-omap-h63xx.git] / fs / fat / namei_vfat.c
index bf326d4356a3347ff9a143328cbef11c01792213..8ae32e37673c32fbee31e0a89eec705fbacf8267 100644 (file)
@@ -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;
        }