rgw: unaccount multipart parts when completing upload

We need to do it atomically, so info about parts is sent to
the bucket index objclass.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
ceph_mon.cc: remove twice included sys/stat.h

Fix includes: remove twice included sys/stat.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph_fuse.cc: remove twice included sys/stat.h

Fix includes: remove twice included sys/stat.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph_mds.cc: remove twice included sys/stat.h

Fix includes: remove twice included sys/stat.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
client/Client.cc: remove twice included headers

Fix includes: remove twice included common/config.h". Remove include
of sys/param.h in special __FreeBSD__ section, since this file is
included in general anyway

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
client/MetaRequest.cc: remove twice included client/Dentry.h

Fix includes: remove twice included client/Dentry.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph_osd.cc: remove twice included sys/stat.h

Fix includes: remove twice included sys/stat.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph_syn.cc: remove twice included sys/stat.h

Fix includes: remove twice included sys/stat.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
fusetrace_ll.cc: remove twice included sys/time.h

Fix includes: remove twice included sys/time.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
client/SyntheticClient.cc: remove twice included headers

Fix includes: remove twice included common/config.h and sys/types.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
monmaptool.cc: remove twice included sys/stat.h

Fix includes: remove twice included sys/stat.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
include/buffer.h: remove twice included stdio.h

Fix includes: remove twice included stdio.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
librados/RadosClient.cc: remove twice included sys/stat.h

Fix includes: remove twice included sys/stat.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
mds/Dumper.h: remove twice included msg/Messenger.h

Fix includes: remove twice included msg/Messenger.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
mds/Migrator.cc: remove twice included Migrator.h

Fix includes: remove twice included Migrator.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
mds/Resetter.h: remove twice included msg/Messenger.h

Fix includes: remove twice included msg/Messenger.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
tools/common.cc: remove twice included headers

Cleanup includes: Remove twice included  sys/stat.h and  osd/OSDMap.h.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
osd/OSD.h: remove twice included OpRequest.h

Fix includes: remove twice included OpRequest.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
os/IndexManager.cc: remove twice included FlatIndex.h

Fix includes: remove twice included FlatIndex.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
osdmaptool.cc: remove twice included sys/stat.h

Fix includes: remove twice included sys/stat.h

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>