aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-30 20:46:36 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-30 20:46:36 -0700
commitde40d1209898884ad5d15a7b5003d13f4f3263d5 (patch)
treeb12a8c43de8979bdf32a031bdaddf32fc57d45e9 /drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
parentstaging: lustre: remove ll_mrf_ret (diff)
downloadlinux-dev-de40d1209898884ad5d15a7b5003d13f4f3263d5.tar.xz
linux-dev-de40d1209898884ad5d15a7b5003d13f4f3263d5.zip
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>
Diffstat (limited to 'drivers/staging/lustre/lustre/include/linux/lustre_compat25.h')
-rw-r--r--drivers/staging/lustre/lustre/include/linux/lustre_compat25.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h b/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
index 1644d40b2682..359c6c1ba68d 100644
--- a/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
+++ b/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
@@ -232,8 +232,6 @@ static inline int ll_namei_to_lookup_intent_flag(int flag)
return flag;
}
-# define LL_MRF_RETURN(rc)
-
#include <linux/fs.h>
# define ll_umode_t umode_t