diff options
author | Thomas Meyer <thomas@m3y3r.de> | 2017-10-07 16:02:21 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-30 12:27:58 +0100 |
commit | 897ca8194cd1b287bc5e7d8a5edc2b9a041e15ba (patch) | |
tree | cfab707a83c0f705581bf0f1c984214d1fc4fa37 /fs/btrfs/file.c | |
parent | efd38150af45375b46576d0110a323d7fab7e142 (diff) | |
download | linux-stable-897ca8194cd1b287bc5e7d8a5edc2b9a041e15ba.tar.gz linux-stable-897ca8194cd1b287bc5e7d8a5edc2b9a041e15ba.tar.bz2 linux-stable-897ca8194cd1b287bc5e7d8a5edc2b9a041e15ba.zip |
btrfs: 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: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index aafcc785f840..79945053c7e7 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -2046,7 +2046,7 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) struct btrfs_trans_handle *trans; struct btrfs_log_ctx ctx; int ret = 0, err; - bool full_sync = 0; + bool full_sync = false; u64 len; /* |