fs/9p: Add . and .. dentry revalidation flag
Aneesh Kumar K.V [Mon, 28 Feb 2011 11:34:07 +0000 (16:34 +0530)]
We need to revalidate . and .. entries also

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>

fs/9p/vfs_super.c

index 1d99b18..09fd08d 100644 (file)
@@ -332,5 +332,5 @@ struct file_system_type v9fs_fs_type = {
        .mount = v9fs_mount,
        .kill_sb = v9fs_kill_super,
        .owner = THIS_MODULE,
-       .fs_flags = FS_RENAME_DOES_D_MOVE,
+       .fs_flags = FS_RENAME_DOES_D_MOVE|FS_REVAL_DOT,
 };