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-8900 snapshot: simulate readonly device
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_obd.c
diff --git
a/lustre/ofd/ofd_obd.c
b/lustre/ofd/ofd_obd.c
index
4b6034b
..
35173aa
100644
(file)
--- a/
lustre/ofd/ofd_obd.c
+++ b/
lustre/ofd/ofd_obd.c
@@
-554,7
+554,7
@@
int ofd_postrecov(const struct lu_env *env, struct ofd_device *ofd)
CDEBUG(D_HA, "%s: recovery is over\n", ofd_name(ofd));
- if (!ofd->ofd_skip_lfsck) {
+ if (!ofd->ofd_skip_lfsck
&& !ofd->ofd_osd->dd_rdonly
) {
struct lfsck_start_param lsp;
lsp.lsp_start = NULL;