]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: init_permissions() shouldn't return ENOENT in a specific case
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 19 Jan 2016 23:33:48 +0000 (15:33 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 19 Jan 2016 23:33:48 +0000 (15:33 -0800)
commit195ceed0a34fc46751c77e86fe766b932b5f91f2
tree255617a8c60c4df0ee759e6fffce4e5682ea042f
parent5f61d36d7189052bcaf22ace1c604bb45f3721ae
rgw: init_permissions() shouldn't return ENOENT in a specific case

If op is bucket creation it should ignore ENOENT. Otherwise we should
make sure we return the appropriate error.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_main.cc
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest.cc
src/rgw/rgw_rest.h