rgw: fix get cors, delete cors

Remove a couple of variables that overrode class member. Not
really clear how it was working before, might have been a bad
merge / rebase.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
cleanup: state_name in NamedState init list

Added const char *state_name to the NamedState initializer list. This
correctly enforces a state name.

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
init-radosgw*: fix status return value if radosgw isn't running

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Merge pull request #571 from dalgaaf/fix-da-init-radosgw

init-radosgw*: fix status return value if radosgw isn't running

Backport: dumpling
Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #570 from roaldvanloon/wip-cleanup-globals

cleanup: state_name in NamedState init list

Reviewed-by: Sage Weil <sage@inktank.com>
fix: build tests need libcrc.la

Build tests are failing because the need crc32c.cc's functions, so we
need to link them against libcrc.la

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
Merge pull request #572 from roaldvanloon/wip-fix-buildtests

fix: build tests need libcrc.la

Reviewed-by: Sage Weil <sage@inktank.com>
automake cleanup: adding vta support to configure

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: renamed inttypes.h

- In "includes", inttypes.h was cluttering the system's one. This caused
  random build errors on some systems/in some conditions. Renaming it.
- Add emergency defs of PRI*64 headers when int_types.h does not define
  them (which, unfortunately, can happen on some systems).

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: moving hobject from os to common

This file is used by libcommon, so lets put it in src/common instead of
src/os.

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: moving code away from include to common

Includes should only be includes. Moving C code to libcommon.

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: moving tests to test subdir

This are tests and should be in the src/test subdir.

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: moving misc tools to tools subdir

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: moving rados tool to tools subdir

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
automake cleanup: renaming buildtest

The previous name could cause confusion (it's not only used to test
build libcommon anymore).

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
Merge pull request #576 from ceph/wip-6078-2

rgw: fix get cors, delete cors

Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #575 from roaldvanloon/wip-automake-prepare

Wip automake prepare

Reviewed-by: Sage Weil <sage@inktank.com>
Merge remote-tracking branch 'gh/next'
automake cleanup: implementing non-recursive make

- Enabling subdir objects
- Created a Makefile-env.am with basic automake init
- Created .am files per subdir, included from src/Makefile.am

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
rados: fix typo

cct is a member of the ObjBencher parent that we are trying to
initialize; need to pass in cct_ here.

Broken in 5dd0a83f917cb73a9985c94b9b6c2309c66d0ce3.

Fixes: #6256
Signed-off-by: Sage Weil <sage@inktank.com>