diff options
author | Christoph Hellwig <hch@lst.de> | 2024-07-02 11:23:02 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-07-02 11:37:04 -0700 |
commit | 8363b4361997044ecb99880a1a9bfdebf9145eed (patch) | |
tree | 0353623606427e7ba37922d92a28e86900a529d6 /fs/xfs/libxfs/xfs_alloc.c | |
parent | 37f9d1db03ba0511403c5d25ba0baaddf5208ba7 (diff) |
xfs: don't bother calling xfs_rmap_finish_one_cleanup in xfs_rmap_finish_one
In xfs_rmap_finish_one we known the cursor is non-zero when calling
xfs_rmap_finish_one_cleanup and we pass a 0 error variable. This means
xfs_rmap_finish_one_cleanup is just doing a xfs_btree_del_cursor.
Open code that and move xfs_rmap_finish_one_cleanup to
fs/xfs/xfs_rmap_item.c.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: minor porting changes]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.c')
0 files changed, 0 insertions, 0 deletions