aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_inode.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-07-06 17:58:03 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-07-06 17:58:03 -0400
commit29937ac6caa68d60c7f1a3e07b6137cf53e09e24 (patch)
treeace90d235f2ee44926885efeab8d6fe9761427f8 /fs/gfs2/ops_inode.c
parent71ec63c5d66b577a71910b82740751be73e81310 (diff)
[GFS2] Fixes to scanning of glocks (again)
This really is the correct fix this time. We just ignore all glocks associated with inodes until the inodes are pushed from the inode cache. At that point the glocks are queued for reclaim, so we don't need to do it here. Also fix one or two other minor bugs. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_inode.c')
-rw-r--r--fs/gfs2/ops_inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c
index 8895baafc640..caecafe0469b 100644
--- a/fs/gfs2/ops_inode.c
+++ b/fs/gfs2/ops_inode.c
@@ -250,6 +250,7 @@ out:
250 gfs2_holder_uninit(ghs + 1); 250 gfs2_holder_uninit(ghs + 1);
251 251
252 if (!error) { 252 if (!error) {
253 atomic_inc(&inode->i_count);
253 d_instantiate(dentry, inode); 254 d_instantiate(dentry, inode);
254 mark_inode_dirty(inode); 255 mark_inode_dirty(inode);
255 } 256 }