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:
b395e05
)
- check for non-zero inum
author
alex
<alex>
Fri, 16 Sep 2005 12:34:33 +0000
(12:34 +0000)
committer
alex
<alex>
Fri, 16 Sep 2005 12:34:33 +0000
(12:34 +0000)
lustre/mdc/mdc_request.c
patch
|
blob
|
history
diff --git
a/lustre/mdc/mdc_request.c
b/lustre/mdc/mdc_request.c
index
7ab0247
..
103cb3f
100644
(file)
--- a/
lustre/mdc/mdc_request.c
+++ b/
lustre/mdc/mdc_request.c
@@
-676,7
+676,7
@@
int mdc_set_open_replay_data(struct obd_export *exp,
if (memcmp(&rec->cr_replayid, &body->id1, sizeof(rec->cr_replayid)))
CDEBUG(D_ERROR, DLID4" != "DLID4"\n", OLID4(&rec->cr_replayid),
OLID4(&body->id1));
-
+ LASSERT(id_ino(&rec->cr_replayid) != 0);
memcpy(&rec->cr_replayid, &body->id1, sizeof rec->cr_replayid);
memcpy(&rec->cr_ioepoch, &body->io_epoch, sizeof rec->cr_ioepoch);
open_req->rq_replay_cb = mdc_replay_open;