commit | 5a7e0a8cf50cf905403f5a498e86d1f97cfcf51b | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Tue Mar 08 16:39:46 2011 +0530 |
committer | Eric Van Hensbergen <ericvh@gmail.com> | Tue Mar 22 15:43:35 2011 -0500 |
tree | 3f20f98db76f7a221f397630a03e6089c1208510 | |
parent | f741a79e982cf56d7584435bad663553ffe6715f [diff] |
fs/9p: Fix race in initializing writeback fid When two process open the same file we can end up with both of them allocating the writeback_fid. Add a new mutex which can be used for synchronizing v9fs_inode member values. 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>