diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-26 03:39:50 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-10-07 18:40:28 +0300 |
commit | 919522e89f8e71fc6a8f8abe17be4011573c6ea0 (patch) | |
tree | 7e453840b1518c5a739a4bb1a1fd0301514ab7ec /drivers/fpga/fpga-mgr.c | |
parent | 929b92f64048d90d23e40a59c47adf59f5026903 (diff) | |
download | linux-919522e89f8e71fc6a8f8abe17be4011573c6ea0.tar.xz |
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>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions