]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: return error if accessing object in non-existent bucket
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 19 Feb 2014 00:43:48 +0000 (16:43 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 19 Feb 2014 00:43:48 +0000 (16:43 -0800)
commit3ed68eb9fac9b3d0bf9111867d609f9ea08fb202
tree53cd82b7f8a9df6ef8acd3501f6c827aa4ae878e
parent609f4c56718d8279895b02b8163bbe1976c02bfb
rgw: return error if accessing object in non-existent bucket

Fixes: #7064
Instead of trying to access the object, which is impossible as we don't
even have a proper bucket info. Up until now we ended up creating an
empty pool and eventually returning ENOENT, this fix catches the issue
earlier in the process.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_op.cc