summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorThomas Meyer2017-10-09 20:38:54 +0200
committerDarrick J. Wong2017-10-11 19:21:06 +0200
commit749f24f33e87c1706d716c283027595b72a034f3 (patch)
treef8c46c500374a87f6e78e4eb292d630c485e158a /fs/xfs/xfs_log.c
parentxfs: don't change inode mode if ACL update fails (diff)
downloadkernel-qcow2-linux-749f24f33e87c1706d716c283027595b72a034f3.tar.gz
kernel-qcow2-linux-749f24f33e87c1706d716c283027595b72a034f3.tar.xz
kernel-qcow2-linux-749f24f33e87c1706d716c283027595b72a034f3.zip
xfs: Fix bool initialization/comparison
Bool initializations should use true and false. Bool tests don't need comparisons. Signed-off-by: Thomas Meyer <thomas@m3y3r.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>
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 c5107c7bc4bf..dc95a49d62e7 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -2515,7 +2515,7 @@ next_lv:
if (lv)
vecp = lv->lv_iovecp;
}
- if (record_cnt == 0 && ordered == false) {
+ if (record_cnt == 0 && !ordered) {
if (!lv)
return 0;
break;