summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-10-14 19:36:40 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-21 18:04:58 +0200
commitcd95cb962b7d3e6591193fb554ff722d1dc35eba (patch)
treec7928830cf75ff9a53d6e4e7dd7deb6c25c42735 /fs/xfs/xfs_log.c
parentxfs: optimize near mode bnobt scans with concurrent cntbt lookups (diff)
downloadlinux-cd95cb962b7d3e6591193fb554ff722d1dc35eba.tar.xz
linux-cd95cb962b7d3e6591193fb554ff722d1dc35eba.zip
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: 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>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 641d07f30a27..37b6787a8f7e 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -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;
}