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:
78f533e
)
Handle FLCOOKIE and FLHANDLE flags properly in obdo_cpy_md().
author
deen
<deen>
Wed, 27 Aug 2008 15:34:36 +0000
(15:34 +0000)
committer
deen
<deen>
Wed, 27 Aug 2008 15:34:36 +0000
(15:34 +0000)
i=shadow
i=johann
b=15198
lustre/obdclass/obdo.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/obdo.c
b/lustre/obdclass/obdo.c
index
c9b92e8
..
95e5d52
100644
(file)
--- a/
lustre/obdclass/obdo.c
+++ b/
lustre/obdclass/obdo.c
@@
-82,6
+82,10
@@
void obdo_cpy_md(struct obdo *dst, struct obdo *src, obd_flag valid)
dst->o_flags = src->o_flags;
if (valid & OBD_MD_FLGENER)
dst->o_generation = src->o_generation;
+ if (valid & OBD_MD_FLHANDLE)
+ dst->o_handle = src->o_handle;
+ if (valid & OBD_MD_FLCOOKIE)
+ dst->o_lcookie = src->o_lcookie;
dst->o_valid |= valid;
}