From: yury Date: Fri, 25 Aug 2006 11:38:01 +0000 (+0000) Subject: - removed not needed set_info command from lmv. X-Git-Tag: v1_8_0_110~486^2~1091 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=eca66e0c94161b2e68178f8e84999456332ed760;p=fs%2Flustre-release.git - removed not needed set_info command from lmv. --- diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index 901fdb4..7da3bc3 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -2228,23 +2228,6 @@ int lmv_set_info_async(struct obd_export *exp, obd_count keylen, RETURN(0); } - if (keylen == strlen("ids") && memcmp(key, "ids", keylen) == 0) { - struct lu_fid *fid = (struct lu_fid *)val; - struct obd_export *tgt_exp; - - rc = lmv_check_connect(obd); - if (rc) - RETURN(rc); - - tgt_exp = lmv_get_export(lmv, fid); - if (IS_ERR(tgt_exp)) - RETURN(PTR_ERR(tgt_exp)); - - rc = obd_set_info_async(tgt_exp, keylen, key, vallen, - val, set); - RETURN(rc); - } - if (keylen == strlen("chkconnect") && memcmp(key, "chkconnect", keylen) == 0) { rc = lmv_check_connect(obd);