X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmdd%2Fmdd_trans.c;h=96d7c88e2bb0d42403e4e7b248bcbdd3b70edc06;hb=41b9a48c344fb0822b2c956162b5d262f267b3a1;hp=8da825a0dc73f8ebcfe84a0c3e337afdb032e21a;hpb=5165cdd4b063d523e5ae261f47818b5ba2bbc7cc;p=fs%2Flustre-release.git diff --git a/lustre/mdd/mdd_trans.c b/lustre/mdd/mdd_trans.c index 8da825a..96d7c88 100644 --- a/lustre/mdd/mdd_trans.c +++ b/lustre/mdd/mdd_trans.c @@ -27,7 +27,7 @@ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2011, 2012, Whamcloud, Inc. + * Copyright (c) 2011, 2012, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -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, handle); + handle->th_result = result; + return mdd_child_ops(mdd)->dt_trans_stop(env, mdd->mdd_child, handle); }