]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor long-format btree header verification routines
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:51:00 +0000 (10:51 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:54:45 +0000 (10:54 -0800)
commitf98512a37477d5f02607338e39abfc6e8f881868
tree7d32eac68f733e84d3e12a67ab3d22bda41fc4d3
parentfbe2ce35757b36372eb20b796c78f315c9679a48
xfs: refactor long-format btree header verification routines

Create two helper functions to verify the headers of a long format
btree block.  We'll use this later for the realtime rmapbt.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_btree.h