From: Yehuda Sadeh Date: Thu, 21 Nov 2013 14:52:48 +0000 (-0800) Subject: rgw: initialize RGWUserAdminOpState::system_specified X-Git-Tag: v0.73~8^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F862%2Fhead;p=ceph.git rgw: initialize RGWUserAdminOpState::system_specified Fixes: #6829 Backport: dumpling, emperor We didn't init this member variable, which might cause that when modifying user info that has this flag set the 'system' flag might inadvertently reset. Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_user.h b/src/rgw/rgw_user.h index e71b8f817782..2749e6c2d51d 100644 --- a/src/rgw/rgw_user.h +++ b/src/rgw/rgw_user.h @@ -409,6 +409,7 @@ struct RGWUserAdminOpState { perm_specified = false; op_mask_specified = false; suspension_op = false; + system_specified = false; key_op = false; populated = false; initialized = false;