ext4: remove unnecessary comparisons to bool
authorJason Yan <yanaijie@huawei.com>
Mon, 20 Apr 2020 04:29:18 +0000 (12:29 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jun 2020 03:16:49 +0000 (23:16 -0400)
commit39c0ae163f3b3ae691e7cce226ba1984ef6456b1
tree4a5656aee800ea057e0a16eaded468cb449b5e18
parent493e83aafa02316bc79ec90041c378d7902194fa
ext4: remove unnecessary comparisons to bool

Fix the following coccicheck warning:

fs/ext4/extents_status.c:1057:5-28: WARNING: Comparison to bool
fs/ext4/inode.c:2314:18-24: WARNING: Comparison to bool

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20200420042918.19459-1-yanaijie@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents_status.c
fs/ext4/inode.c