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-14361 statahead: return ENOENT for batched statahead
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_batch.c
diff --git
a/lustre/mdt/mdt_batch.c
b/lustre/mdt/mdt_batch.c
index
2dff768
..
27b17ef
100644
(file)
--- a/
lustre/mdt/mdt_batch.c
+++ b/
lustre/mdt/mdt_batch.c
@@
-320,8
+320,6
@@
int mdt_batch(struct tgt_session_info *tsi)
tsi->tsi_batch_idx = handled_update_count;
rc = h->th_act(tsi);
- if (rc)
- GOTO(out, rc);
next:
/*
* As @repmsg may be changed if the reply buffer is
@@
-332,6
+330,9
@@
next:
grown = true;
}
+ if (rc)
+ GOTO(out, rc);
+
repmsg->lm_result = rc;
mdt_thread_info_reset(info);