X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fofd%2Fofd_lvb.c;h=c4e43b45cd93018f9ba63b29b7cc531629119aa0;hp=b1d50eb35e7cdf642d4de3b7eff772e5165b09e1;hb=978428ed047602a311f016fe7f4cf7d21f5599b6;hpb=d10200a80770f0029d1d665af954187b9ad883df diff --git a/lustre/ofd/ofd_lvb.c b/lustre/ofd/ofd_lvb.c index b1d50eb..c4e43b4 100644 --- a/lustre/ofd/ofd_lvb.c +++ b/lustre/ofd/ofd_lvb.c @@ -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;