char *jobid, long amount)
{
if (exp->exp_obd && exp->exp_obd->u.obt.obt_jobstats.ojs_hash &&
- (exp->exp_connect_flags & OBD_CONNECT_JOBSTATS))
+ (exp_connect_flags(exp) & OBD_CONNECT_JOBSTATS))
lprocfs_job_stats_log(exp->exp_obd, jobid, opcode, amount);
if (exp->exp_nid_stats != NULL &&
static inline int ofd_grant_param_supp(struct obd_export *exp)
{
- return !!(exp->exp_connect_flags & OBD_CONNECT_GRANT_PARAM);
+ return !!(exp_connect_flags(exp) & OBD_CONNECT_GRANT_PARAM);
}
/* Blocksize used for client not supporting OBD_CONNECT_GRANT_PARAM.