Commit cd95cb96 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Darrick J. Wong

xfs: pass the correct flag to xlog_write_iclog

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarBrian Foster <bfoster@redhat.com>
parent dc8e69bd
...@@ -1735,7 +1735,7 @@ xlog_write_iclog( ...@@ -1735,7 +1735,7 @@ xlog_write_iclog(
* the buffer manually, the code needs to be kept in sync * the buffer manually, the code needs to be kept in sync
* with the I/O completion path. * with the I/O completion path.
*/ */
xlog_state_done_syncing(iclog, XFS_LI_ABORTED); xlog_state_done_syncing(iclog, true);
up(&iclog->ic_sema); up(&iclog->ic_sema);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment