xfs: fact out common grant head/log tail verification code
authorDave Chinner <dchinner@redhat.com>
Tue, 21 Dec 2010 01:02:52 +0000 (12:02 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 21 Dec 2010 01:02:52 +0000 (12:02 +1100)
Factor repeated debug code out of grant head manipulation functions into a
separate function. This removes ifdef DEBUG spagetti from the code and makes
the code easier to follow.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>

No differences found