aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/fid.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/fid.c')
-rw-r--r--fs/9p/fid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/9p/fid.c b/fs/9p/fid.c
index ddf618936d8a..73ca55042cb0 100644
--- a/fs/9p/fid.c
+++ b/fs/9p/fid.c
@@ -41,12 +41,11 @@
41 * 41 *
42 */ 42 */
43 43
44int v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid) 44void v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid)
45{ 45{
46 spin_lock(&dentry->d_lock); 46 spin_lock(&dentry->d_lock);
47 hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata); 47 hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata);
48 spin_unlock(&dentry->d_lock); 48 spin_unlock(&dentry->d_lock);
49 return 0;
50} 49}
51 50
52/** 51/**