From: tappro Date: Wed, 7 Jun 2006 13:14:40 +0000 (+0000) Subject: remove attr from name_insert/remove() operations X-Git-Tag: v1_8_0_110~486^2~1657 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=a083ae1559f96a616877fd5e33c56bc48bcb6363;p=fs%2Flustre-release.git remove attr from name_insert/remove() operations --- diff --git a/lustre/include/md_object.h b/lustre/include/md_object.h index 5918edb..b007ce1 100644 --- a/lustre/include/md_object.h +++ b/lustre/include/md_object.h @@ -99,10 +99,9 @@ struct md_dir_operations { /* partial ops for cross-ref case */ int (*mdo_name_insert)(const struct lu_context *, struct md_object *, - const char *, const struct lu_fid *, - struct lu_attr *); + const char *, const struct lu_fid *); int (*mdo_name_remove)(const struct lu_context *, struct md_object *, - const char *, struct lu_attr *); + const char *); int (*mdo_rename_tgt)(const struct lu_context *, struct md_object *, struct md_object *, struct md_object *, const char *); @@ -255,19 +254,18 @@ static inline int mdo_unlink(const struct lu_context *cx, struct md_object *p, static inline int mdo_name_insert(const struct lu_context *cx, struct md_object *p, - const char *name, const struct lu_fid *f, - struct lu_attr *at) + const char *name, const struct lu_fid *f) { LASSERT(p->mo_dir_ops->mdo_name_insert); - return p->mo_dir_ops->mdo_name_insert(cx, p, name, f, at); + return p->mo_dir_ops->mdo_name_insert(cx, p, name, f); } static inline int mdo_name_remove(const struct lu_context *cx, struct md_object *p, - const char *name, struct lu_attr *at) + const char *name) { LASSERT(p->mo_dir_ops->mdo_name_remove); - return p->mo_dir_ops->mdo_name_remove(cx, p, name, at); + return p->mo_dir_ops->mdo_name_remove(cx, p, name); } static inline int mdo_rename_tgt(const struct lu_context *cx,