aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorThomas Meyer <thomas@m3y3r.de>2017-10-07 16:02:21 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-11-17 16:43:43 -0500
commit6089dd0d731028531fb1148be9fd33274ff90da4 (patch)
treee23db00cc4e512db34c7dd09568436de449b8ea6 /fs/nfs/callback_proc.c
parentNFS: Avoid RCU usage in tracepoints (diff)
downloadlinux-dev-6089dd0d731028531fb1148be9fd33274ff90da4.tar.xz
linux-dev-6089dd0d731028531fb1148be9fd33274ff90da4.zip
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.c2
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;