Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-11721 lod: limit statfs ffree if less than OST ffree
[fs/lustre-release.git]
/
lustre
/
include
/
obd_class.h
diff --git
a/lustre/include/obd_class.h
b/lustre/include/obd_class.h
index
f0fcedb
..
9ad5ec8
100644
(file)
--- 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) {
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",
}
CDEBUG(D_SUPER, "%s: age %lld, max_age %lld\n",