summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/super.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2017-07-28 14:22:55 +0200
committerBob Peterson <rpeterso@redhat.com>2017-08-09 16:36:39 +0200
commitb2fb7dab7f193909e9a0ad489a91666b8c55eff1 (patch)
tree4fa06251beb04159500422caf2cca0f0c2b9ffa2 /fs/gfs2/super.c
parentGFS2: Don't waste time locking lru_lock for non-lru glocks (diff)
downloadlinux-b2fb7dab7f193909e9a0ad489a91666b8c55eff1.tar.xz
linux-b2fb7dab7f193909e9a0ad489a91666b8c55eff1.zip
GFS2: Delete debugfs files only after we evict the glocks
This patch moves the call to gfs2_delete_debugfs_file so that it comes after the glock hash table has been cleared. This way we can query the debugfs files if umount hangs. Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r--fs/gfs2/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index 87271a859a8d..1918bb5fc943 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -924,6 +924,7 @@ restart:
gfs2_jindex_free(sdp);
/* Take apart glock structures and buffer lists */
gfs2_gl_hash_clear(sdp);
+ gfs2_delete_debugfs_file(sdp);
/* Unmount the locking protocol */
gfs2_lm_unmount(sdp);