GFS2: Add a bug trap in allocation code
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 23 Aug 2010 10:49:34 +0000 (11:49 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 20 Sep 2010 10:18:59 +0000 (11:18 +0100)
This adds a check to ensure that if we reach the block allocator
that we don't try and proceed if there is no alloc structure
hanging off the inode. This should only happen if there is a bug
in GFS2. The error return code is distinctive in order that it
will be easily spotted.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found