]> 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)
commita14303ea55a366bab2df44f8f083978914a3c08b
tree2e2982dcc07045c24923811a82b62dbf99c58772
parente71d96038c8292912d42398bdaf17d8c716fa0b4
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