]> asedeno.scripts.mit.edu Git - linux.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)
commita677a78325b3057ce03b6129f549ece85b0c8dd2
tree134ba1e1c606b535e6311aeb7907a37efe9b8bbc
parentc2cdc2ab24873289db8588a0a7ccec508d7ad075
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