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:
b423ef1
)
- fix in lmv_intent_lock()
author
yury
<yury>
Tue, 25 Apr 2006 08:28:21 +0000
(08:28 +0000)
committer
yury
<yury>
Tue, 25 Apr 2006 08:28:21 +0000
(08:28 +0000)
lustre/lmv/lmv_intent.c
patch
|
blob
|
history
diff --git
a/lustre/lmv/lmv_intent.c
b/lustre/lmv/lmv_intent.c
index
a0f31dc
..
a1730a3
100644
(file)
--- a/
lustre/lmv/lmv_intent.c
+++ b/
lustre/lmv/lmv_intent.c
@@
-635,8
+635,8
@@
int lmv_intent_lock(struct obd_export *exp, struct md_op_data *op_data,
LASSERT(it);
- pid =
&op_data->fid1
;
- cid =
&op_data->fid2
;
+ pid =
fid_num(&op_data->fid1) != 0 ? &op_data->fid1 : NULL
;
+ cid =
fid_num(&op_data->fid2) != 0 ? &op_data->fid2 : NULL
;
i = lmv_fld_lookup(obd, pid);
CDEBUG(D_OTHER, "INTENT LOCK '%s' for '%*s' on "DFID3" -> %d\n",