diff options
author | Nicholas Hanley <nicholasjhanley@gmail.com> | 2016-11-07 14:01:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-10 13:54:59 +0100 |
commit | 0efe6171ddafc20875ba4bdeba472e53218ddd35 (patch) | |
tree | 25ccb6b224f24275136b415fe1216ea222b3e5d9 /drivers | |
parent | b586fbd3968a3273c9998796c3c2f6cd9f1948dd (diff) |
staging: lustre: o2iblnd: use bool assignment to true/false
Replace 0 with false in tx_pages_mapped = 0 to be consistent with
the rest of the lustre code.
Signed-off-by: Nicholas Hanley <nicholasjhanley@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c index 13235b048add..e2fc65f0f2f4 100644 --- a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c +++ b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c @@ -1637,7 +1637,7 @@ int kiblnd_fmr_pool_map(struct kib_fmr_poolset *fps, struct kib_tx *tx, { __u64 *pages = tx->tx_pages; bool is_rx = (rd != tx->tx_rd); - bool tx_pages_mapped = 0; + bool tx_pages_mapped = false; struct kib_fmr_pool *fpo; int npages = 0; __u64 version; |