xfs: encapsulate bbcount validity checking
authorAlex Elder <aelder@sgi.com>
Tue, 13 Apr 2010 05:22:58 +0000 (15:22 +1000)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:12 +0000 (09:58 -0500)
commitff30a6221d95b609a37410a425937b11a55d465e
tree548b8949adc08b8d96c73953f28b3ba7fc2afe31
parent5c17f5339f9dfdee8ad9661e97f8030d75b6bff7
xfs: encapsulate bbcount validity checking

Define a function that encapsulates checking the validity of a log
block count.

(Updated from previous version--no longer includes error reporting in the
encapsulated validation function.)

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_log_recover.c