]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: preserve user_version in snaps/clones 1004/head
authorSage Weil <sage@inktank.com>
Sat, 28 Dec 2013 00:29:11 +0000 (16:29 -0800)
committerSage Weil <sage@inktank.com>
Sat, 28 Dec 2013 00:32:22 +0000 (16:32 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/osd_types.cc

index 85805afb3771c97e2aa6447909b9f4855aa3bff9..c3ca2b1b8c14f84b4f26323b6af1c0644e342892 100644 (file)
@@ -3115,6 +3115,7 @@ void object_info_t::copy_user_bits(const object_info_t& other)
   truncate_size = other.truncate_size;
   flags = other.flags;
   category = other.category;
+  user_version = other.user_version;
 }
 
 ps_t object_info_t::legacy_object_locator_to_ps(const object_t &oid,