]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: drop unused shutdown parameter from xfs_trans_ail_remove()
authorBrian Foster <bfoster@redhat.com>
Wed, 6 May 2020 20:25:50 +0000 (13:25 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 7 May 2020 15:27:47 +0000 (08:27 -0700)
commit4f4683d5f154ed7ffc2759e5a10d7fb988600bb5
tree2e2982dcc07045c24923811a82b62dbf99c58772
parentd26b8eefcdda38b709f0801e8de66bdc265d8420
xfs: drop unused shutdown parameter from xfs_trans_ail_remove()

The shutdown parameter of xfs_trans_ail_remove() is no longer used.
The remaining callers use it for items that legitimately might not
be in the AIL or from contexts where AIL state has already been
checked. Remove the unnecessary parameter and fix up the callers.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot_item.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_trans_priv.h