aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse/dir.c')
-rw-r--r--fs/fuse/dir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c
index a8f65c11aa2c..7ecfe95795cd 100644
--- a/fs/fuse/dir.c
+++ b/fs/fuse/dir.c
@@ -163,7 +163,9 @@ static int fuse_dentry_revalidate(struct dentry *entry, struct nameidata *nd)
163 fuse_send_forget(fc, req, outarg.nodeid, 1); 163 fuse_send_forget(fc, req, outarg.nodeid, 1);
164 return 0; 164 return 0;
165 } 165 }
166 spin_lock(&fc->lock);
166 fi->nlookup ++; 167 fi->nlookup ++;
168 spin_unlock(&fc->lock);
167 } 169 }
168 fuse_put_request(fc, req); 170 fuse_put_request(fc, req);
169 if (err || (outarg.attr.mode ^ inode->i_mode) & S_IFMT) 171 if (err || (outarg.attr.mode ^ inode->i_mode) & S_IFMT)