]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: fix bug with LL_MRF_RETURN in loop_make_request
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 03:46:36 +0000 (20:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 03:46:36 +0000 (20:46 -0700)
commitbb3599d5c36cefaf07df6cbef306afccf7dc4f30
treeb12a8c43de8979bdf32a031bdaddf32fc57d45e9
parent3b4004e8cfde3049ecea915f6e4d569348facead
staging: lustre: fix bug with LL_MRF_RETURN in loop_make_request

Turns out that LL_MRF_RETURN is "void" so loop_make_request() would fall
through to the error path for a successful call.  Either this never
matters, or the error path really doesn't do anything.

Fix it up to do what the code is written to look like it is doing, if
that really is what it should be doing is another story...

Cc: Peng Tao <tao.peng@emc.com>
Cc: Zhao Hongjiang <zhaohongjiang@huawei.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
drivers/staging/lustre/lustre/llite/lloop.c