diff options
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r-- | fs/fuse/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 8e106163aaed..e9114237f31f 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -195,7 +195,9 @@ struct inode *fuse_iget(struct super_block *sb, unsigned long nodeid, | |||
195 | } | 195 | } |
196 | 196 | ||
197 | fi = get_fuse_inode(inode); | 197 | fi = get_fuse_inode(inode); |
198 | spin_lock(&fc->lock); | ||
198 | fi->nlookup ++; | 199 | fi->nlookup ++; |
200 | spin_unlock(&fc->lock); | ||
199 | fuse_change_attributes(inode, attr); | 201 | fuse_change_attributes(inode, attr); |
200 | return inode; | 202 | return inode; |
201 | } | 203 | } |