summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_bmap.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-02-22 12:44:32 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-02-22 12:44:32 -0800
commit52f807067ba4a122e75bf1e0e0595c78e6a3d8b6 (patch)
tree2e03d83d917effbc0c7826cd6a1dd826a828b2df /fs/xfs/libxfs/xfs_bmap.h
parent1b5453baed3a43dd4726eda0e8a5618c56a4f3f7 (diff)
downloadlinux-stable-52f807067ba4a122e75bf1e0e0595c78e6a3d8b6.tar.gz
linux-stable-52f807067ba4a122e75bf1e0e0595c78e6a3d8b6.tar.bz2
linux-stable-52f807067ba4a122e75bf1e0e0595c78e6a3d8b6.zip
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> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_bmap.h')
-rw-r--r--fs/xfs/libxfs/xfs_bmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap.h b/fs/xfs/libxfs/xfs_bmap.h
index 325cc232a415..f7662595309d 100644
--- a/fs/xfs/libxfs/xfs_bmap.h
+++ b/fs/xfs/libxfs/xfs_bmap.h
@@ -247,9 +247,9 @@ struct xfs_bmap_intent {
int xfs_bmap_finish_one(struct xfs_trans *tp, struct xfs_bmap_intent *bi);
void xfs_bmap_map_extent(struct xfs_trans *tp, struct xfs_inode *ip,
- struct xfs_bmbt_irec *imap);
+ int whichfork, struct xfs_bmbt_irec *imap);
void xfs_bmap_unmap_extent(struct xfs_trans *tp, struct xfs_inode *ip,
- struct xfs_bmbt_irec *imap);
+ int whichfork, struct xfs_bmbt_irec *imap);
static inline uint32_t xfs_bmap_fork_to_state(int whichfork)
{