commit | 919522e89f8e71fc6a8f8abe17be4011573c6ea0 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Fri Sep 25 17:39:50 2020 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Wed Oct 07 08:40:28 2020 -0700 |
tree | 7e453840b1518c5a739a4bb1a1fd0301514ab7ec | |
parent | 929b92f64048d90d23e40a59c47adf59f5026903 [diff] |
xfs: clean up bmap intent item recovery checking The bmap intent item checking code in xfs_bui_item_recover is spread all over the function. We should check the recovered log item at the top before we allocate any resources or do anything else, so do that. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>