GFS2: Delete debugfs files only after we evict the glocks
authorBob Peterson <rpeterso@redhat.com>
Fri, 28 Jul 2017 12:22:55 +0000 (07:22 -0500)
committerBob Peterson <rpeterso@redhat.com>
Wed, 9 Aug 2017 14:36:39 +0000 (09:36 -0500)
commitb2fb7dab7f193909e9a0ad489a91666b8c55eff1
tree4fa06251beb04159500422caf2cca0f0c2b9ffa2
parent645ebd49f0583f91234aa043ef71ddebe7e8351e
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>
fs/gfs2/ops_fstype.c
fs/gfs2/super.c