]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: check _btree_check_block value
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 17 Jul 2017 21:30:45 +0000 (14:30 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 20 Jul 2017 21:42:32 +0000 (14:42 -0700)
commit2643e1b972ee13ccbd528286a4ae331de905a2fd
tree3ddac329b334e7c68f428cd816db71a5ecbb3edc
parentc1e7f93cfc9ccbe5772b8d0eb3da04ab3bcc7881
xfs: check _btree_check_block value

Check the _btree_check_block return value for the firstrec and lastrec
functions, since we have the ability to signal that the repositioning
did not succeed.

Fixes-coverity-id: 114067
Fixes-coverity-id: 114068
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_btree.c