Remove unused growth_count set_info.
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;
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);