]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit692c26a69f40e7b29878f95cd88dd4f3b1e9f199
treedb1b65cc236a5402360c2ec942cd67219bee9b03
parent64b59542d40d157bd7768011f4da95e6c864a238
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