Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd98254
)
b=3829
author
alex
<alex>
Wed, 14 Jul 2004 14:04:27 +0000
(14:04 +0000)
committer
alex
<alex>
Wed, 14 Jul 2004 14:04:27 +0000
(14:04 +0000)
- mds_copy_unlink_reply() shouldn't be called if md_unlink() returns an error
lustre/mds/mds_reint.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_reint.c
b/lustre/mds/mds_reint.c
index
8dca20e
..
8564f6b
100644
(file)
--- a/
lustre/mds/mds_reint.c
+++ b/
lustre/mds/mds_reint.c
@@
-1542,7
+1542,8
@@
static int mds_reint_unlink_remote(struct mds_update_record *rec, int offset,
rc = md_unlink(mds->mds_lmv_exp, &op_data, &request);
cleanup_phase = 2;
if (request) {
- mds_copy_unlink_reply(req, request);
+ if (rc == 0)
+ mds_copy_unlink_reply(req, request);
ptlrpc_req_finished(request);
}
if (rc == 0) {