xfs: remove dfops parameter from ifree call stack
authorBrian Foster <bfoster@redhat.com>
Thu, 12 Jul 2018 05:26:07 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:07 +0000 (22:26 -0700)
commit0e0417f3e54668cec9f677850130e6fbb64edcf2
treedb1b65cc236a5402360c2ec942cd67219bee9b03
parent6aa6718439ac6907b3c34cbe7ac2c71408f84f6e
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>
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/libxfs/xfs_ialloc.h
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h