obd_size fo_tot_pending;
obd_size fo_tot_dirty;
- if (cfs_list_empty(&obd->obd_exports))
+ if (list_empty(&obd->obd_exports))
return;
/* We don't want to do this for large machines that do lots of
spin_lock(&obd->obd_dev_lock);
spin_lock(&ofd->ofd_grant_lock);
- cfs_list_for_each_entry(exp, &obd->obd_exports, exp_obd_chain) {
+ list_for_each_entry(exp, &obd->obd_exports, exp_obd_chain) {
struct filter_export_data *fed;
int error = 0;
* \param[in] oa incoming obdo in which we should return the pack the
* additional grant
* \param[in,out] rnb the list of network buffers
- * \param[in] niocont the number of network buffers in the list
+ * \param[in] niocount the number of network buffers in the list
* \param[in] left the remaining free space with space already granted
* taken out
*/
*
* \param[in] env is the lu environment provided by the caller
* \param[in] exp is the export of the client which sent the request
- * \paral[in,out] oa is the incoming obdo sent by the client
+ * \param[in,out] oa is the incoming obdo sent by the client
*/
void ofd_grant_prepare_read(const struct lu_env *env,
struct obd_export *exp, struct obdo *oa)
* \param[in] exp export of the client which sent the request
* \param[in] oa incoming obdo sent by the client
* \param[in] rnb list of network buffers
- * \param[in] niocont number of network buffers in the list
+ * \param[in] niocount number of network buffers in the list
*/
void ofd_grant_prepare_write(const struct lu_env *env,
struct obd_export *exp, struct obdo *oa,
*
* \param[in] env LU environment provided by the caller
* \param[in] exp export of the client which sent the request
+ * \param[in] rc return code of pre-commit operations
*/
void ofd_grant_commit(const struct lu_env *env, struct obd_export *exp,
int rc)