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
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
lmv
/
lmv_intent.c
diff --git
a/lustre/lmv/lmv_intent.c
b/lustre/lmv/lmv_intent.c
index
f87d2f5
..
fe3ffe7
100644
(file)
--- a/
lustre/lmv/lmv_intent.c
+++ b/
lustre/lmv/lmv_intent.c
@@
-1009,8
+1009,7
@@
release_lock:
body->valid = OBD_MD_FLSIZE;
}
if (master_valid == 0) {
- memcpy(&oit->d.lustre.it_lock_handle,
- &master_lockh, sizeof(master_lockh));
+ oit->d.lustre.it_lock_handle = master_lockh.cookie;
oit->d.lustre.it_lock_mode = master_lock_mode;
}
rc = 0;