]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: make sptlrpc_flavor_has_bulk return boolean
authorGeliang Tang <geliangtang@163.com>
Sun, 18 Oct 2015 14:35:31 +0000 (22:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:41:09 +0000 (18:41 -0700)
commit316bd5e085cbd38176a7c1ea100416322bc1633f
tree8193992fa5b734b88d477ca30403cf6502f379b1
parent9ebafb530be42dea90cb698857ac518058346b7b
staging: lustre: make sptlrpc_flavor_has_bulk return boolean

This patch makes sptlrpc_flavor_has_bulk return boolean, since
this function only uses either one or zero as its return value.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_sec.h
drivers/staging/lustre/lustre/ptlrpc/sec.c