X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Fgenops.c;h=c300236a55b1d7e81f2b73850f3ced8278ff3787;hb=b3f0995b772877f0bea5d3d790db441244c3c821;hp=75703c056cee6bb30ec21a088af90372e7366b54;hpb=43cbc93f1edc493e47fe5c4059bf0bae6a20c207;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/genops.c b/lustre/obdclass/genops.c index 75703c0..c300236 100644 --- a/lustre/obdclass/genops.c +++ b/lustre/obdclass/genops.c @@ -600,7 +600,7 @@ struct obd_device *class_name2obd(const char *name) } EXPORT_SYMBOL(class_name2obd); -int class_uuid2dev_nolock(struct obd_uuid *uuid) +static int class_uuid2dev_nolock(struct obd_uuid *uuid) { int i; @@ -1019,8 +1019,9 @@ static void obd_zombie_exp_cull(struct work_struct *ws) /* Creates a new export, adds it to the hash table, and returns a * pointer to it. The refcount is 2: one for the hash reference, and * one for the pointer returned by this function. */ -struct obd_export *__class_new_export(struct obd_device *obd, - struct obd_uuid *cluuid, bool is_self) +static struct obd_export *__class_new_export(struct obd_device *obd, + struct obd_uuid *cluuid, + bool is_self) { struct obd_export *export; int rc = 0;