]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77b23a66b62db464383288683928f46e1a9669f0
tree548b8949adc08b8d96c73953f28b3ba7fc2afe31
parent9ce6e5e0e70effce6023b21f9cf028bde01f6528
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