diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 10:46:54 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-12-15 17:28:58 -0800 |
commit | 9d3fc9a025a72599e2422f448f5f79fc37f68e67 (patch) | |
tree | 54b56d02e6f323276f5fd3be4a36c2aec9e94110 /fs/xfs/xfs_bmap_item.c | |
parent | 0d1fe01c49998eb4d6b73af292cf29fc9fd24ab0 (diff) |
xfs: support deferred bmap updates on the attr fork
The deferred bmap update log item has always supported the attr fork, so
plumb this in so that higher layers can access this.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_bmap_item.c')
-rw-r--r-- | fs/xfs/xfs_bmap_item.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap_item.c b/fs/xfs/xfs_bmap_item.c index fd38fc59111f..1d7e628e3d6c 100644 --- a/fs/xfs/xfs_bmap_item.c +++ b/fs/xfs/xfs_bmap_item.c @@ -503,7 +503,8 @@ xfs_bui_item_recover( if (fake.bi_bmap.br_blockcount > 0) { ASSERT(fake.bi_type == XFS_BMAP_UNMAP); - xfs_bmap_unmap_extent(tp, fake.bi_owner, &fake.bi_bmap); + xfs_bmap_unmap_extent(tp, fake.bi_owner, fake.bi_whichfork, + &fake.bi_bmap); } /* |