X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Fobd_class.h;h=9ad5ec805d318d95d7df04707f8ecc3409ad15c0;hb=a829595add808d0fb09bab525c500d0aa6955883;hp=f0fcedbfcf0b75f2cd3a08ae7395e87fd3bed466;hpb=96aca3e4c0e4092f504ab75bbc156387222342c4;p=fs%2Flustre-release.git diff --git a/lustre/include/obd_class.h b/lustre/include/obd_class.h index f0fcedb..9ad5ec8 100644 --- a/lustre/include/obd_class.h +++ b/lustre/include/obd_class.h @@ -1020,8 +1020,9 @@ static inline int obd_statfs_async(struct obd_export *exp, obd = exp->exp_obd; if (!obd->obd_type || !obd->obd_type->typ_dt_ops->o_statfs) { - CERROR("%s: no %s operation\n", obd->obd_name, __func__); - RETURN(-EOPNOTSUPP); + rc = -EOPNOTSUPP; + CERROR("%s: no statfs operation: rc = %d\n", obd->obd_name, rc); + RETURN(rc); } CDEBUG(D_SUPER, "%s: age %lld, max_age %lld\n",