aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-10-24 09:46:50 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-10-25 21:23:01 -0400
commit9dcefee508d547eed88f3c578dc92819bdeaa952 (patch)
tree7d63df92ba654ee4a9840099156588472ec1044d /fs/gfs2/super.c
parentext2_remount: don't bother with invalidate_inodes() (diff)
downloadlinux-dev-9dcefee508d547eed88f3c578dc92819bdeaa952.tar.xz
linux-dev-9dcefee508d547eed88f3c578dc92819bdeaa952.zip
gfs2: invalidate_inodes() is no-op there
In fill_super() we hadn't MS_ACTIVE set yet, so there won't be any inodes with zero i_count sitting around. In put_super() we already have MS_ACTIVE removed *and* we had called invalidate_inodes() since then. So again there won't be any inodes with zero i_count... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--fs/gfs2/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index 047d1176096c..2b2c4997430b 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -857,7 +857,6 @@ restart:
gfs2_clear_rgrpd(sdp);
gfs2_jindex_free(sdp);
/* Take apart glock structures and buffer lists */
- invalidate_inodes(sdp->sd_vfs);
gfs2_gl_hash_clear(sdp);
/* Unmount the locking protocol */
gfs2_lm_unmount(sdp);