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

Fixes coccicheck warning:

fs/nfsd/nfs4proc.c:235:1-18: WARNING: Assignment of 0/1 to bool variable
fs/nfsd/nfs4proc.c:368:1-17: 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/nfs4proc.c