]> 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:49:28 +0000 (22:19 +0530)
committerEric Van Hensbergen <ericvh@gmail.com>
Thu, 25 Aug 2011 14:23:29 +0000 (09:23 -0500)
commitfccee28b73fe74ecf90d8f6e1bf273fe7fcfdce9
treedec9e66871d273fa9c0f82aab0c75ecb5fd949ef
parenta6dd0ceb789ea36abf2d3ce700ee07293fd2758a
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>
fs/9p/vfs_inode.c