]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: drop the init_anon_user() as it isn't necessary anymore. 16874/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 7 Aug 2017 16:14:55 +0000 (12:14 -0400)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 7 Aug 2017 16:15:40 +0000 (12:15 -0400)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/rgw/rgw_rest_s3.cc

index 0128b8b852b0478f481489c1e4e215b48dd76850..a3f98c244845a707fbec8df8464002ece90aac86 100644 (file)
@@ -3320,12 +3320,6 @@ discover_aws_flavour(const req_info& info)
   return std::make_pair(version, route);
 }
 
-static void init_anon_user(struct req_state *s)
-{
-  rgw_get_anon_user(*(s->user));
-  s->perm_mask = RGW_PERM_FULL_CONTROL;
-}
-
 /*
  * verify that a signed request comes from the keyholder
  * by checking the signature against our locally-computed version