]> 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)
commitadf873bc156f4bd3a242c846db5a5e65d23654ec
tree134ba1e1c606b535e6311aeb7907a37efe9b8bbc
parent1b2d671199fdc3587a6fa991f9abdb3a3d43290a
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