summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.h
diff options
context:
space:
mode:
authorBrian Foster2018-07-12 07:26:07 +0200
committerDarrick J. Wong2018-07-12 07:26:07 +0200
commit0e0417f3e54668cec9f677850130e6fbb64edcf2 (patch)
treedb1b65cc236a5402360c2ec942cd67219bee9b03 /fs/xfs/xfs_inode.h
parentxfs: rename xfs_trans ->t_agfl_dfops to ->t_dfops (diff)
downloadkernel-qcow2-linux-0e0417f3e54668cec9f677850130e6fbb64edcf2.tar.gz
kernel-qcow2-linux-0e0417f3e54668cec9f677850130e6fbb64edcf2.tar.xz
kernel-qcow2-linux-0e0417f3e54668cec9f677850130e6fbb64edcf2.zip
xfs: remove dfops parameter from ifree call stack
The inode free callchain starting in xfs_inactive_ifree() already associates its dfops with the transaction. It still passes the dfops on the stack down through xfs_difree_inobt(), however. Clean up the call stack and reference dfops directly from the transaction. This patch does not change behavior. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r--fs/xfs/xfs_inode.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h
index 2ed63a49e890..b1f0e8394f3b 100644
--- a/fs/xfs/xfs_inode.h
+++ b/fs/xfs/xfs_inode.h
@@ -415,8 +415,7 @@ uint xfs_ilock_data_map_shared(struct xfs_inode *);
uint xfs_ilock_attr_map_shared(struct xfs_inode *);
uint xfs_ip2xflags(struct xfs_inode *);
-int xfs_ifree(struct xfs_trans *, xfs_inode_t *,
- struct xfs_defer_ops *);
+int xfs_ifree(struct xfs_trans *, struct xfs_inode *);
int xfs_itruncate_extents_flags(struct xfs_trans **,
struct xfs_inode *, int, xfs_fsize_t, int);
void xfs_iext_realloc(xfs_inode_t *, int, int);