]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove the aborted parameter to xlog_state_done_syncing
authorChristoph Hellwig <hch@lst.de>
Fri, 20 Mar 2020 15:49:20 +0000 (08:49 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 23 Mar 2020 15:27:59 +0000 (08:27 -0700)
commita89e0b04a6de868168b4f3207f54c4a7fda7deb9
tree0e26b91caeef3d963a6245c779d9def3e4b9e2c9
parent24c11fc5b36854bb5a54ca382de549378a104819
xfs: remove the aborted parameter to xlog_state_done_syncing

We can just check for a shut down log all the way down in
xlog_cil_committed instead of passing the parameter.  This means a
slight behavior change in that we now also abort log items if the
shutdown came in halfway into the I/O completion processing, which
actually is the right thing to do.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log.h
fs/xfs/xfs_log_cil.c