[GFS2] Don't do recursive locking in glock layer
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 26 Apr 2006 17:21:55 +0000 (13:21 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 26 Apr 2006 17:21:55 +0000 (13:21 -0400)
commit5965b1f4792a1a9364b4e1ed6be8778a50eb981b
tree77773aca2301eb2e11dc455e7152823bf3bde361
parent3a2a9c96ac129d17aad1a5c46988ad28f72564b0
[GFS2] Don't do recursive locking in glock layer

This patch changes the last user of recursive locking so that
it no longer needs this feature and removes it from the glock
layer. This makes the glock code a lot simpler and easier to
understand. Its also a prerequsite to adding support for the
AOP_TRUNCATED_PAGE return code (or at least it is if you don't
want your brain to melt in the process)

I've left in a couple of checks just in case there is some place
else in the code which is still using this feature that I didn't
spot yet, but they can probably be removed long term.

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