GFS2: Remove loopy umount code
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 8 Jan 2010 16:14:29 +0000 (16:14 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 1 Mar 2010 14:07:53 +0000 (14:07 +0000)
commitc1184f8ab7ea26681f3cab18284a870aad678b0f
treefec6b61ba9b1aa16aab0d1dfabf63a21bbe47ac7
parent009d851837ab26cab18adda6169a813f70b0b21b
GFS2: Remove loopy umount code

As a consequence of the previous patch, we can now remove the
loop which used to be required due to the circular dependency
between the inodes and glocks. Instead we can just invalidate
the inodes, and then clear up any glocks which are left.

Also we no longer need the rwsem since there is no longer any
danger of the inode invalidation calling back into the glock
code (and from there back into the inode code).

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/incore.h
fs/gfs2/ops_fstype.c
fs/gfs2/super.c
fs/gfs2/sys.c