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

Fixes coccicheck warning:

fs/nfsd/nfssvc.c:394:2-14: WARNING: Assignment of 0/1 to bool variable
fs/nfsd/nfssvc.c:407:2-14: WARNING: Assignment of 0/1 to bool variable
fs/nfsd/nfssvc.c:422:2-14: 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/nfssvc.c