]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6af0479d8b6b162b7f006581553705521af9984b
tree2e2982dcc07045c24923811a82b62dbf99c58772
parent655879290c28bc5678a30a7b41c9b61f4f7f90c2
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