]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 2 Aug 2011 12:09:36 +0000 (13:09 +0100)
commit1c1de7234edb8f7e1bb7fe3d2007e3cb0a23a6c3
treef1407c3684af2d7c02a8a18a42ce5810f789a556
parent47372af9d94c72399d93a3a31ba3ea92bda0ec11
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