]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: initialize RGWUserAdminOpState::system_specified 862/head
authorYehuda Sadeh <yehuda@inktank.com>
Thu, 21 Nov 2013 14:52:48 +0000 (06:52 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 22 Nov 2013 15:06:35 +0000 (07:06 -0800)
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 <yehuda@inktank.com>
src/rgw/rgw_user.h

index e71b8f8177829edccd9a3d44b18f3081a6d53c2e..2749e6c2d51d35d68a57bebc157b0217a6ef8d47 100644 (file)
@@ -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;