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>
Tue, 6 Sep 2011 13:17:15 +0000 (08:17 -0500)
commit73f507171cfa407b19f254aef95cbb058c8180cf
tree18456029c1b723669232e1ed45895f9d65853927
parentf88657ce3f9713a0c62101dffb0e972a979e77b9
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