From 327da6f4a42aee8aa74674cdc46ae55ab9392324 Mon Sep 17 00:00:00 2001 From: ericm Date: Fri, 19 Sep 2008 21:30:44 +0000 Subject: [PATCH] branch: b1_8_gate backup the sptlrpc interoperability stub. b=15363 --- lustre/obdclass/obd_config.c | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/lustre/obdclass/obd_config.c b/lustre/obdclass/obd_config.c index aafe553..6c777fe 100644 --- a/lustre/obdclass/obd_config.c +++ b/lustre/obdclass/obd_config.c @@ -628,29 +628,6 @@ int class_del_conn(struct obd_device *obd, struct lustre_cfg *lcfg) RETURN(rc); } -struct sptlrpc_conf_log_hdr { - __u32 scl_max; - __u32 scl_nrule; -}; - -static int class_sptlrpc_conf(struct obd_device *obd, struct lustre_cfg *lcfg) -{ - struct sptlrpc_conf_log_hdr *log; - - log = lustre_cfg_buf(lcfg, 1); - if (log == NULL || lcfg->lcfg_buflens[1] < sizeof(*log)) { - CERROR("missing data in sptlrpc config record\n"); - return 0; - } - - /* don't care endian */ - if (log->scl_nrule != 0) - CWARN("Please notify your sysadmin to remove all " - "sptlrpc rules on MGS\n"); - - return 0; -} - CFS_LIST_HEAD(lustre_profile_list); struct lustre_profile *class_get_profile(char * prof) @@ -875,10 +852,6 @@ int class_process_config(struct lustre_cfg *lcfg) err = class_del_conn(obd, lcfg); GOTO(out, err = 0); } - case LCFG_SPTLRPC_CONF: { - err = class_sptlrpc_conf(obd, lcfg); - GOTO(out, err = 0); - } case LCFG_POOL_NEW: { err = obd_pool_new(obd, lustre_cfg_string(lcfg, 2)); GOTO(out, err = 0); -- 1.8.3.1