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-6910 osp: add procfs values for OST reserved size
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_obd.c
diff --git
a/lustre/ofd/ofd_obd.c
b/lustre/ofd/ofd_obd.c
index
09922d8
..
307f678
100644
(file)
--- a/
lustre/ofd/ofd_obd.c
+++ b/
lustre/ofd/ofd_obd.c
@@
-1439,7
+1439,7
@@
static int ofd_health_check(const struct lu_env *nul, struct obd_device *obd)
if (unlikely(rc))
GOTO(out, rc);
- if (info->fti_u.osfs.os_state
==
OS_STATE_READONLY)
+ if (info->fti_u.osfs.os_state
&
OS_STATE_READONLY)
GOTO(out, rc = -EROFS);
#ifdef USE_HEALTH_CHECK_WRITE