xfs: refactor short form btree pointer verification
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:51:01 +0000 (10:51 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:54:45 +0000 (10:54 -0800)
commite1e55aaf1cc646b736439cbd5af229759029ae34
treeddecf9f1701b24abb5b1b064748047000f5d3fae
parent8368a6019d5bbb8b56c140029dcf5ea570b638f1
xfs: refactor short form btree pointer verification

Now that we have xfs_verify_agbno, use it to verify short form btree
pointers instead of open-coding them.

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