X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fofd%2Fofd_lvb.c;h=81f1e67e3809704a60fdbe8b222391d82180bf59;hb=7db38378aa07f7ce5fb79bc379271fd4218d95bd;hp=c5924bd1336ce073f6a591e159d836ab8be5d5cf;hpb=520631764c0e9d1bf5c70f8d060b81a2f322d5dc;p=fs%2Flustre-release.git diff --git a/lustre/ofd/ofd_lvb.c b/lustre/ofd/ofd_lvb.c index c5924bd..81f1e67 100644 --- a/lustre/ofd/ofd_lvb.c +++ b/lustre/ofd/ofd_lvb.c @@ -23,7 +23,7 @@ * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2012, 2014 Intel Corporation. + * Copyright (c) 2012, 2017, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -77,7 +77,7 @@ static int ofd_lvbo_free(struct ldlm_resource *res) * * Called with res->lr_lvb_sem held. * - * \param[in] res LDLM resource + * \param[in] lock LDLM lock on resource * * \retval 0 on successful setup * \retval negative value on error @@ -172,14 +172,14 @@ out_env: * \a req != NULL : called by the DLM itself after a glimpse callback * \a req == NULL : called by the OFD after a disk write * - * \param[in] res LDLM resource + * \param[in] lock LDLM lock * \param[in] req PTLRPC request * \param[in] increase_only don't allow LVB values to decrease * * \retval 0 on successful setup * \retval negative value on error */ -static int ofd_lvbo_update(struct ldlm_resource *res, +static int ofd_lvbo_update(struct ldlm_resource *res, struct ldlm_lock *lock, struct ptlrpc_request *req, int increase_only) { struct ofd_device *ofd;