Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Nicholas Hanley and committed by
Greg Kroah-Hartman
0efe6171 b586fbd3

+1 -1
+1 -1
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c
··· 1637 1637 { 1638 1638 __u64 *pages = tx->tx_pages; 1639 1639 bool is_rx = (rd != tx->tx_rd); 1640 - bool tx_pages_mapped = 0; 1640 + bool tx_pages_mapped = false; 1641 1641 struct kib_fmr_pool *fpo; 1642 1642 int npages = 0; 1643 1643 __u64 version;