diff options
author | Thomas Meyer <thomas@m3y3r.de> | 2017-10-07 17:02:21 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-11-18 00:43:43 +0300 |
commit | 6089dd0d731028531fb1148be9fd33274ff90da4 (patch) | |
tree | e23db00cc4e512db34c7dd09568436de449b8ea6 /fs/nfs/callback_proc.c | |
parent | 3944369db701f075092357b511fd9f5755771585 (diff) | |
download | linux-6089dd0d731028531fb1148be9fd33274ff90da4.tar.xz |
NFS: Fix bool initialization/comparison
Bool initializations should use true and false. Bool tests don't need
comparisons.
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
-rw-r--r-- | fs/nfs/callback_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c index 14358de173fb..a82abff80dff 100644 --- a/fs/nfs/callback_proc.c +++ b/fs/nfs/callback_proc.c @@ -439,7 +439,7 @@ static bool referring_call_exists(struct nfs_client *clp, uint32_t nrclists, struct referring_call_list *rclists) { - bool status = 0; + bool status = false; int i, j; struct nfs4_session *session; struct nfs4_slot_table *tbl; |