Files
android_kernel_xiaomi_sm8450/fs/xfs
Darrick J. Wong 27d9ee577d xfs: actually check xfs_btree_check_block return in xfs_btree_islastblock
Coverity points out that xfs_btree_islastblock doesn't check the return
value of xfs_btree_check_block.  Since the question "Does the cursor
point to the last block in this level?" only makes sense if the caller
previously performed a lookup or seek operation, the block should
already have been checked.

Therefore, check the return value in an ASSERT and turn the whole thing
into a static inline predicate.

Coverity-id: 114069
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2019-11-11 12:42:52 -08:00
..
2019-11-10 16:54:24 -08:00
2019-11-10 10:21:57 -08:00
2019-08-26 17:43:15 -07:00
2018-06-06 14:17:53 -07:00
2019-11-07 13:00:53 -08:00
2018-06-06 14:17:53 -07:00
2019-10-28 08:37:54 -07:00
2019-10-28 08:37:54 -07:00
2019-11-10 10:21:57 -08:00
2019-10-28 08:37:54 -07:00
2019-11-07 13:00:53 -08:00
2019-11-04 13:55:54 -08:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2019-11-04 13:55:54 -08:00
2019-11-07 13:00:53 -08:00
2018-06-06 14:17:53 -07:00
2019-07-03 08:21:58 -07:00
2019-07-03 08:21:58 -07:00
2019-06-28 19:30:43 -07:00
2019-11-04 13:55:54 -08:00
2019-04-23 08:36:23 -07:00
2019-06-28 19:30:43 -07:00
2019-11-07 13:00:53 -08:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2019-11-07 13:00:53 -08:00