]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: use true,false for bool variable in vfs.c
authorzhengbin <zhengbin13@huawei.com>
Wed, 25 Dec 2019 03:19:34 +0000 (11:19 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 3 Jan 2020 16:21:12 +0000 (11:21 -0500)
commited2fc67299a9bfab064fa3f2f3e848e098fa5f2c
tree51b0e5c1babaedb2d9b9d1a005e312f198756706
parent8c9b4c8080a2a80c9ce3092b9386cab0b2663a60
nfsd: use true,false for bool variable in vfs.c

Fixes coccicheck warning:

fs/nfsd/vfs.c:1389:5-13: WARNING: Assignment of 0/1 to bool variable
fs/nfsd/vfs.c:1398:5-13: WARNING: Assignment of 0/1 to bool variable
fs/nfsd/vfs.c:1415:2-10: WARNING: Assignment of 0/1 to bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c