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-15868 lfsck: don't crash upon dir migration failure
[fs/lustre-release.git]
/
lustre
/
target
/
out_handler.c
diff --git
a/lustre/target/out_handler.c
b/lustre/target/out_handler.c
index
d530f82
..
c09f221
100644
(file)
--- a/
lustre/target/out_handler.c
+++ b/
lustre/target/out_handler.c
@@
-1219,7
+1219,10
@@
int out_handle(struct tgt_session_info *tsi)
}
}
- rc = h->th_act(tsi);
+ if (OBD_FAIL_CHECK(OBD_FAIL_OUT_EIO))
+ rc = -EIO;
+ else
+ rc = h->th_act(tsi);
next:
reply_index++;
dt_object_put(env, dt_obj);