]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 2 Aug 2018 00:44:05 +0000 (19:44 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 9 Aug 2018 20:11:21 +0000 (16:11 -0400)
commit615fd13bcc40f47a102896132c63e1e1f303da4f
tree134ba1e1c606b535e6311aeb7907a37efe9b8bbc
parent95d3b74d161ec9bbf7af8b3a68e769245f85dbfb
nfsd: use true and false for boolean values

Return statements in functions returning bool should use true or false
instead of an integer value.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsfh.c