aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/fid.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-02-27 22:37:21 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-27 22:37:21 -0500
commit634095dab2a2001844fc8b26673c0cb14a766cdf (patch)
tree1e5aa7581ac97f82543dfc581c5eb6fa96572d3c /fs/9p/fid.h
parent6131ffaa1f091415b7a24abb01f033d9c0a727f4 (diff)
9p: don't bother with private lock in ->d_fsdata; dentry->d_lock will do just fine
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/9p/fid.h')
-rw-r--r--fs/9p/fid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/9p/fid.h b/fs/9p/fid.h
index bb0b6e7f58fc..469b5d517694 100644
--- a/fs/9p/fid.h
+++ b/fs/9p/fid.h
@@ -25,7 +25,6 @@
25 25
26/** 26/**
27 * struct v9fs_dentry - 9p private data stored in dentry d_fsdata 27 * struct v9fs_dentry - 9p private data stored in dentry d_fsdata
28 * @lock: protects the fidlist
29 * @fidlist: list of FIDs currently associated with this dentry 28 * @fidlist: list of FIDs currently associated with this dentry
30 * 29 *
31 * This structure defines the 9p private data associated with 30 * This structure defines the 9p private data associated with
@@ -35,11 +34,12 @@
35 * inodes in order to more closely map functionality to the Plan 9 34 * inodes in order to more closely map functionality to the Plan 9
36 * expected behavior for FID reclaimation and tracking. 35 * expected behavior for FID reclaimation and tracking.
37 * 36 *
37 * Protected by ->d_lock of dentry it belongs to.
38 *
38 * See Also: Mapping FIDs to Linux VFS model in 39 * See Also: Mapping FIDs to Linux VFS model in
39 * Design and Implementation of the Linux 9P File System documentation 40 * Design and Implementation of the Linux 9P File System documentation
40 */ 41 */
41struct v9fs_dentry { 42struct v9fs_dentry {
42 spinlock_t lock; /* protect fidlist */
43 struct list_head fidlist; 43 struct list_head fidlist;
44}; 44};
45 45