Commit 61db1bc4 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman
Browse files

Staging: lustre: osc: Declare osc_attr_set as static



osc_attr_set is used only in this particular file. Thus declare it
as static.

Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6ef3f3c7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ static int osc_attr_get(const struct lu_env *env, struct cl_object *obj,
	return 0;
}

int osc_attr_set(const struct lu_env *env, struct cl_object *obj,
static int osc_attr_set(const struct lu_env *env, struct cl_object *obj,
			const struct cl_attr *attr, unsigned valid)
{
	struct lov_oinfo *oinfo = cl2osc(obj)->oo_oinfo;