]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/9p: Always ask new inode in lookup for cache mode disabled
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 16 Aug 2011 16:51:04 +0000 (16:51 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 22 Aug 2011 15:44:59 +0000 (10:44 -0500)
commitb3f4fd15016840115f45f68da1cbf03dacb44d1f
tree7f14f5b54eb1c773809ff03b65bc80916fb7f782
parentc5d02e034ef3f22e1d297aa3804e5b29df19eac2
fs/9p: Always ask new inode in lookup for cache mode disabled

This make sure we don't end up reusing the unlinked inode object.
The ideal way is to use inode i_generation. But i_generation is
not available in userspace always.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_inode.c