Whamcloud - gitweb
Branch b1_4 - merge from b_cray
authoradilger <adilger>
Fri, 27 May 2005 11:53:38 +0000 (11:53 +0000)
committeradilger <adilger>
Fri, 27 May 2005 11:53:38 +0000 (11:53 +0000)
Remove unused growth_count set_info.

lustre/mds/mds_lov.c
lustre/osc/osc_request.c

index b71f02d..291acd9 100644 (file)
@@ -142,18 +142,6 @@ int mds_lov_set_nextid(struct obd_device *obd)
         RETURN(rc);
 }
 
-/* tell the LOV-OSC by how much to pre-create */
-int mds_lov_set_growth(struct mds_obd *mds, int count)
-{
-        int rc;
-        ENTRY;
-
-        rc = obd_set_info(mds->mds_osc_exp, strlen("growth_count"),
-                          "growth_count", sizeof(count), &count);
-
-        RETURN(rc);
-}
-
 int mds_lov_connect(struct obd_device *obd, char * lov_name)
 {
         struct mds_obd *mds = &obd->u.mds;
index 3342251..c8a3a53 100644 (file)
@@ -3085,13 +3085,6 @@ static int osc_set_info(struct obd_export *exp, obd_count keylen,
                 RETURN(0);
         }
 
-        if (KEY_IS("growth_count")) {
-                if (vallen != sizeof(int))
-                        RETURN(-EINVAL);
-                obd->u.cli.cl_oscc.oscc_grow_count = *((int*)val);
-                RETURN(0);
-        }
-
         if (KEY_IS("unlinked")) {
                 struct osc_creator *oscc = &obd->u.cli.cl_oscc;
                 spin_lock(&oscc->oscc_lock);