Skip to content
Snippets Groups Projects
Commit 0f702ad2 authored by deen's avatar deen
Browse files

Handle FLCOOKIE and FLHANDLE flags properly in obdo_cpy_md().

i=shadow
i=johann
b=15198
parent 78f533e4
No related merge requests found
...@@ -82,6 +82,10 @@ void obdo_cpy_md(struct obdo *dst, struct obdo *src, obd_flag valid) ...@@ -82,6 +82,10 @@ void obdo_cpy_md(struct obdo *dst, struct obdo *src, obd_flag valid)
dst->o_flags = src->o_flags; dst->o_flags = src->o_flags;
if (valid & OBD_MD_FLGENER) if (valid & OBD_MD_FLGENER)
dst->o_generation = src->o_generation; 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; dst->o_valid |= valid;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment