]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_bucket.cc: return error if update_containers_stats() fails
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 2 May 2014 23:34:10 +0000 (01:34 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 2 May 2014 23:34:10 +0000 (01:34 +0200)
commit9a716d88bb5fad59a20d5396c5dbb738466629f5
treebf38ecc88ed4ba71dc15cdf456925dd1e6e9d52a
parentaafed10cd6a494877085cecbdcd0f0097fc87748
rgw_bucket.cc: return error if update_containers_stats() fails

In case need_stats is set on rgw_read_user_buckets() and the
update_containers_stats() call fails with !-ENOENT, not only
print out a message but also return the error to the function
caller.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/rgw/rgw_bucket.cc