From 93634cf51bb2c35b25fc08ca284b486a6fa19aba Mon Sep 17 00:00:00 2001 From: yangsheng Date: Tue, 11 Nov 2008 07:43:36 +0000 Subject: [PATCH] Branch b1_8_gate b=17153 i=adilger, robert.read Remove 2.4 check. Author: tappro CVSooi= --- lustre/include/linux/obd_support.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lustre/include/linux/obd_support.h b/lustre/include/linux/obd_support.h index fac5899..128e84e 100644 --- a/lustre/include/linux/obd_support.h +++ b/lustre/include/linux/obd_support.h @@ -173,9 +173,8 @@ static inline cksum_type_t cksum_type_unpack(obd_flag o_flags) #define OBD_FAIL_WRITE(obd, id, sb) \ { \ if (OBD_FAIL_CHECK(id)) { \ - BDEVNAME_DECLARE_STORAGE(tmp); \ CERROR("obd_fail_loc=%x, fail write operation on %s\n", \ - id, ll_bdevname(sb, tmp)); \ + id, sb->s_id); \ lvfs_set_rdonly(obd, sb); \ /* We set FAIL_ONCE because we never "un-fail" a device */ \ obd_fail_loc |= OBD_FAILED | OBD_FAIL_ONCE; \ -- 1.8.3.1