summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_ialloc.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-07-11 22:26:07 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-11 22:26:07 -0700
commit0e0417f3e54668cec9f677850130e6fbb64edcf2 (patch)
treedb1b65cc236a5402360c2ec942cd67219bee9b03 /fs/xfs/libxfs/xfs_ialloc.h
parent6aa6718439ac6907b3c34cbe7ac2c71408f84f6e (diff)
downloadlinux-stable-0e0417f3e54668cec9f677850130e6fbb64edcf2.tar.gz
linux-stable-0e0417f3e54668cec9f677850130e6fbb64edcf2.tar.bz2
linux-stable-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/libxfs/xfs_ialloc.h')
-rw-r--r--fs/xfs/libxfs/xfs_ialloc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_ialloc.h b/fs/xfs/libxfs/xfs_ialloc.h
index 90b09c5f163b..e936b7cc9389 100644
--- a/fs/xfs/libxfs/xfs_ialloc.h
+++ b/fs/xfs/libxfs/xfs_ialloc.h
@@ -82,7 +82,6 @@ int /* error */
xfs_difree(
struct xfs_trans *tp, /* transaction pointer */
xfs_ino_t inode, /* inode to be freed */
- struct xfs_defer_ops *dfops, /* extents to free */
struct xfs_icluster *ifree); /* cluster info if deleted */
/*