GFS2: Fix type mapping for demote_rq interface
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 6 Oct 2010 08:58:44 +0000 (09:58 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 6 Oct 2010 08:58:44 +0000 (09:58 +0100)
commit134669854e3a680d8aad9a4047891c653715f4c0
tree8c6f6b2615fc7bf84c69b02bde33065aaa8688c9
parent46290341cd649c2bfb69e5067c1804c0395c83a1
GFS2: Fix type mapping for demote_rq interface

Mostly the glock operations follow the type of the glock. The
one exception is the transaction glock, so we need to check for
that directly.

Reported-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glops.c
fs/gfs2/sys.c