summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trans.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-01-27 03:44:07 +0300
committerDarrick J. Wong <djwong@kernel.org>2021-02-03 20:18:49 +0300
commit3de4eb106fcc97f086b78bd17a0c3529691e8259 (patch)
treed7592a8b476426a1429fb72ee2af3b0931766c58 /fs/xfs/xfs_trans.h
parent3a1af6c317d0a55524f39079183be107be4c1f39 (diff)
downloadlinux-3de4eb106fcc97f086b78bd17a0c3529691e8259.tar.xz
xfs: allow reservation of rtblocks with xfs_trans_alloc_inode
Make it so that we can reserve rt blocks with the xfs_trans_alloc_inode wrapper function, then convert a few more callsites. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_trans.h')
-rw-r--r--fs/xfs/xfs_trans.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h
index aa50be244432..52bbd7e6a552 100644
--- a/fs/xfs/xfs_trans.h
+++ b/fs/xfs/xfs_trans.h
@@ -269,6 +269,7 @@ xfs_trans_item_relog(
}
int xfs_trans_alloc_inode(struct xfs_inode *ip, struct xfs_trans_res *resv,
- unsigned int dblocks, bool force, struct xfs_trans **tpp);
+ unsigned int dblocks, unsigned int rblocks, bool force,
+ struct xfs_trans **tpp);
#endif /* __XFS_TRANS_H__ */