]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
xfs: pass the correct flag to xlog_write_iclog
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Oct 2019 17:36:40 +0000 (10:36 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 16:04:58 +0000 (09:04 -0700)
xlog_write_iclog expects a bool for the second argument.  While any
non-0 value happens to work fine this makes all calls consistent.

Signed-off-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>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_log.c

index 641d07f30a2771731dede545dbeb219cef43f5a6..37b6787a8f7e5384a179c2c2752a30e7a44975dd 100644 (file)
@@ -1735,7 +1735,7 @@ xlog_write_iclog(
                 * the buffer manually, the code needs to be kept in sync
                 * with the I/O completion path.
                 */
-               xlog_state_done_syncing(iclog, XFS_LI_ABORTED);
+               xlog_state_done_syncing(iclog, true);
                up(&iclog->ic_sema);
                return;
        }