diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-28 01:13:19 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-28 01:13:19 -0500 |
commit | aaeb7ecfb48ad4c8942a26874322d8918524a04f (patch) | |
tree | ae2e0dbd1cb3a199e9fd92786a0da2ba810a42ef /fs/9p/fid.h | |
parent | c4d30967f3020cda9df9ee22af79cd1f2c284244 (diff) |
v9fs: get rid of v9fs_dentry
->d_fsdata can act as hlist_head...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/9p/fid.h')
-rw-r--r-- | fs/9p/fid.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/fs/9p/fid.h b/fs/9p/fid.h index 86eeb34ce46f..377eb6f2e7f7 100644 --- a/fs/9p/fid.h +++ b/fs/9p/fid.h | |||
@@ -23,26 +23,6 @@ | |||
23 | #define FS_9P_FID_H | 23 | #define FS_9P_FID_H |
24 | #include <linux/list.h> | 24 | #include <linux/list.h> |
25 | 25 | ||
26 | /** | ||
27 | * struct v9fs_dentry - 9p private data stored in dentry d_fsdata | ||
28 | * @fidlist: list of FIDs currently associated with this dentry | ||
29 | * | ||
30 | * This structure defines the 9p private data associated with | ||
31 | * a particular dentry. In particular, this private data is used | ||
32 | * to lookup which 9P FID handle should be used for a particular VFS | ||
33 | * operation. FID handles are associated with dentries instead of | ||
34 | * inodes in order to more closely map functionality to the Plan 9 | ||
35 | * expected behavior for FID reclaimation and tracking. | ||
36 | * | ||
37 | * Protected by ->d_lock of dentry it belongs to. | ||
38 | * | ||
39 | * See Also: Mapping FIDs to Linux VFS model in | ||
40 | * Design and Implementation of the Linux 9P File System documentation | ||
41 | */ | ||
42 | struct v9fs_dentry { | ||
43 | struct hlist_head fidlist; | ||
44 | }; | ||
45 | |||
46 | struct p9_fid *v9fs_fid_lookup(struct dentry *dentry); | 26 | struct p9_fid *v9fs_fid_lookup(struct dentry *dentry); |
47 | struct p9_fid *v9fs_fid_clone(struct dentry *dentry); | 27 | struct p9_fid *v9fs_fid_clone(struct dentry *dentry); |
48 | int v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid); | 28 | int v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid); |