]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/9p: Always ask new inode in create
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 6 Jul 2011 11:02:31 +0000 (16:32 +0530)
committerEric Van Hensbergen <ericvh@gmail.com>
Sat, 23 Jul 2011 14:32:50 +0000 (09:32 -0500)
commited80fcfac2565fa866d93ba14f0e75de17a8223e
tree504a4efb5377bc5d8e9ff3a8eb45bb2b00303b93
parent4d63055fa9657aa402da25575045c23f37c3da05
fs/9p: Always ask new inode in create

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/v9fs.h
fs/9p/vfs_inode.c
fs/9p/vfs_inode_dotl.c