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-12025 osp: allow OS_STATE_* flags from OSTs
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_obd.c
diff --git
a/lustre/ofd/ofd_obd.c
b/lustre/ofd/ofd_obd.c
index
478854c
..
2e74bc4
100644
(file)
--- a/
lustre/ofd/ofd_obd.c
+++ b/
lustre/ofd/ofd_obd.c
@@
-849,6
+849,9
@@
int ofd_statfs(const struct lu_env *env, struct obd_export *exp,
if (ofd->ofd_raid_degraded)
osfs->os_state |= OS_STATE_DEGRADED;
+ if (ofd->ofd_no_precreate)
+ osfs->os_state |= OS_STATE_NOPRECREATE;
+
if (obd->obd_self_export != exp && !exp_grant_param_supp(exp) &&
tgd->tgd_blockbits > COMPAT_BSIZE_SHIFT) {
/*