X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Fmd_object.h;h=fb8c67f8bbb962b0eb1c19c4cfa3679d83845845;hp=718be0c96c7289f0f450895048a61263a95e19db;hb=2496089a0017f5b0ff94a7a7994f4c62c8f30d94;hpb=a3b6109705dc7b0e2bc376e3b55c8434d0fa0a39 diff --git a/lustre/include/md_object.h b/lustre/include/md_object.h index 718be0c..fb8c67f 100644 --- a/lustre/include/md_object.h +++ b/lustre/include/md_object.h @@ -230,7 +230,8 @@ struct md_object_operations { struct lu_buf *buf); int (*moo_changelog)(const struct lu_env *env, - enum changelog_rec_type type, int flags, + enum changelog_rec_type type, + enum changelog_rec_flags clf_flags, struct md_device *m, const struct lu_fid *fid); int (*moo_open)(const struct lu_env *env, @@ -413,8 +414,8 @@ static inline int mo_readlink(const struct lu_env *env, static inline int mo_changelog(const struct lu_env *env, enum changelog_rec_type type, - int flags, struct md_device *m, - const struct lu_fid *fid) + enum changelog_rec_flags clf_flags, + struct md_device *m, const struct lu_fid *fid) { struct lu_fid rootfid; struct md_object *root; @@ -429,7 +430,7 @@ static inline int mo_changelog(const struct lu_env *env, RETURN(PTR_ERR(root)); LASSERT(root->mo_ops->moo_changelog); - rc = root->mo_ops->moo_changelog(env, type, flags, m, fid); + rc = root->mo_ops->moo_changelog(env, type, clf_flags, m, fid); lu_object_put(env, &root->mo_lu);