X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fcmm%2Fcmm_object.c;h=3cb6962f02d7f8ffe34c37d2bd1d421769d7a8aa;hb=14765d2816bafa2a08879ece0e33bf8c97f84948;hp=88cf0fd95254560ecf893a43b0b7b8b84a5656f5;hpb=d2d56f38da01001c92a09afc6b52b5acbd9bc13c;p=fs%2Flustre-release.git diff --git a/lustre/cmm/cmm_object.c b/lustre/cmm/cmm_object.c index 88cf0fd..3cb6962 100644 --- a/lustre/cmm/cmm_object.c +++ b/lustre/cmm/cmm_object.c @@ -258,21 +258,21 @@ static int cml_xattr_list(const struct lu_env *env, struct md_object *mo, } static int cml_xattr_set(const struct lu_env *env, struct md_object *mo, - const struct lu_buf *buf, - const char *name, int fl) + const struct lu_buf *buf, const char *name, + int fl, const struct lu_attr *la) { int rc; ENTRY; - rc = mo_xattr_set(env, md_object_next(mo), buf, name, fl); + rc = mo_xattr_set(env, md_object_next(mo), buf, name, fl, la); RETURN(rc); } static int cml_xattr_del(const struct lu_env *env, struct md_object *mo, - const char *name) + const char *name, const struct lu_attr *la) { int rc; ENTRY; - rc = mo_xattr_del(env, md_object_next(mo), name); + rc = mo_xattr_del(env, md_object_next(mo), name, la); RETURN(rc); } @@ -440,7 +440,9 @@ static int cml_create(const struct lu_env *env, struct md_object *mo_p, spec, ma); EXIT; +#ifdef HAVE_SPLIT_SUPPORT out: +#endif return rc; } @@ -875,13 +877,14 @@ static int cmr_xattr_list(const struct lu_env *env, struct md_object *mo, } static int cmr_xattr_set(const struct lu_env *env, struct md_object *mo, - const struct lu_buf *buf, const char *name, int fl) + const struct lu_buf *buf, const char *name, + int fl, const struct lu_attr *la) { return -EFAULT; } static int cmr_xattr_del(const struct lu_env *env, struct md_object *mo, - const char *name) + const char *name, const struct lu_attr *la) { return -EFAULT; }