From: yangsheng Date: Tue, 11 Nov 2008 07:44:09 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_140~1^222 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=289f57d4f511aad2f4b99d4a9dabc8b3823de4ff;p=fs%2Flustre-release.git Branch b1_8_gate b=17153 i=adilger, robert.read Remove 2.4 check. Author: tappro CVSooi= --- diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index 6fe314b..98449cd 100644 --- a/lustre/mds/mds_lov.c +++ b/lustre/mds/mds_lov.c @@ -809,9 +809,8 @@ int mds_iocontrol(unsigned int cmd, struct obd_export *exp, int len, case OBD_IOC_SET_READONLY: { void *handle; struct inode *inode = obd->u.obt.obt_sb->s_root->d_inode; - BDEVNAME_DECLARE_STORAGE(tmp); LCONSOLE_WARN("*** setting obd %s device '%s' read-only ***\n", - obd->obd_name, ll_bdevname(obd->u.obt.obt_sb, tmp)); + obd->obd_name, obd->u.obt.obt_sb->s_id); handle = fsfilt_start(obd, inode, FSFILT_OP_MKNOD, NULL); if (!IS_ERR(handle))