]> 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)
commitc1c523ca70e2aa0d79f41f793f5cd40b34f712c6
tree7d32eac68f733e84d3e12a67ab3d22bda41fc4d3
parent9e206d2059f987b9e3edfecc1213e35ebf4e870c
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