Aneesh Kumar K.V a534c8d15b fs/9p: Prevent parallel rename when doing fid_lookup
During fid lookup we need to make sure that the dentry->d_parent doesn't
change so that we can safely walk the parent dentries. To ensure that
we need to prevent cross directory rename during fid_lookup. Add a
per superblock rename_sem rw_semaphore to prevent parallel fid lookup and
rename.

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>
2010-08-02 14:28:35 -05:00
..
2009-09-23 13:03:46 -05:00
2008-05-14 19:23:25 -05:00
2009-09-23 13:03:46 -05:00
2010-08-02 14:28:35 -05:00
2009-09-23 13:03:46 -05:00
2010-08-02 14:28:32 -05:00
2010-08-02 14:28:35 -05:00
2010-08-02 14:28:35 -05:00
2010-08-02 14:28:35 -05:00