GFS2: Fix bug-trap in ail flush code
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 2 Aug 2011 12:09:36 +0000 (13:09 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 21 Oct 2011 11:39:20 +0000 (12:39 +0100)
commit75549186edf1515062fe2fcbfbd92bd99659afba
treec3942739398fdf76b2cfaa3e5f72575f7fa8d4f8
parent2f0264d592e34cde99efbad7d616b04af138e913
GFS2: Fix bug-trap in ail flush code

The assert was being tested under the wrong lock, a
legacy of the original code. Also, if it does trigger,
the resulting information was not always a lot of help.

This moves the patch under the correct lock and also
prints out more useful information in tacking down the
source of the problem.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glops.c