X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmdd%2Fmdd_trans.c;h=96d7c88e2bb0d42403e4e7b248bcbdd3b70edc06;hb=8d5344f3e4e2e055acbe0d6179abaf1811672557;hp=8c2b74e64b39cc90a1f794dbd5951cca0476b69f;hpb=5f3e926ac9ff8ad134ad920d0e8545e16395ef3b;p=fs%2Flustre-release.git diff --git a/lustre/mdd/mdd_trans.c b/lustre/mdd/mdd_trans.c index 8c2b74e..96d7c88 100644 --- a/lustre/mdd/mdd_trans.c +++ b/lustre/mdd/mdd_trans.c @@ -60,9 +60,9 @@ int mdd_trans_start(const struct lu_env *env, struct mdd_device *mdd, return mdd_child_ops(mdd)->dt_trans_start(env, mdd->mdd_child, th); } -void mdd_trans_stop(const struct lu_env *env, struct mdd_device *mdd, - int result, struct thandle *handle) +int mdd_trans_stop(const struct lu_env *env, struct mdd_device *mdd, + int result, struct thandle *handle) { handle->th_result = result; - mdd_child_ops(mdd)->dt_trans_stop(env, mdd->mdd_child, handle); + return mdd_child_ops(mdd)->dt_trans_stop(env, mdd->mdd_child, handle); }