]> 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)
commit79edfae128f8893ec3529648509c85eff7b6cae5
tree51b0e5c1babaedb2d9b9d1a005e312f198756706
parent2df00a4f73bc2c49f6922e0e567c7853e86f39d3
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