*/
int (*do_xattr_list)(const struct lu_env *env,
struct dt_object *dt,
- struct lu_buf *buf,
+ const struct lu_buf *buf,
struct lustre_capa *capa);
/**
return dt->do_ops->do_xattr_get(env, dt, buf, name, capa);
}
-static inline int dt_xattr_list(const struct lu_env *env,
- struct dt_object *dt, struct lu_buf *buf,
- struct lustre_capa *capa)
+static inline int dt_xattr_list(const struct lu_env *env, struct dt_object *dt,
+ const struct lu_buf *buf,
+ struct lustre_capa *capa)
{
LASSERT(dt);
LASSERT(dt->do_ops);