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: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6ef3f3c736
commit
61db1bc497
1 changed files with 2 additions and 2 deletions
|
@ -158,8 +158,8 @@ 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,
|
||||
const struct cl_attr *attr, unsigned valid)
|
||||
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;
|
||||
struct ost_lvb *lvb = &oinfo->loi_lvb;
|
||||
|
|
Loading…
Reference in a new issue