]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librgw: add RGWStatObjRequest and use it
authorMatt Benjamin <mbenjamin@redhat.com>
Sat, 7 Nov 2015 20:46:52 +0000 (15:46 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:05:44 +0000 (12:05 -0500)
commit71590b8b345970bad132dd3c6ede17adb713fbbd
tree481cb805b7df9a45c567ee551027da862f9bfa55
parent0e5f5e2bcf639eb1ef79e886022ff56c226d4d93
librgw: add RGWStatObjRequest and use it

* implement a stat operation over RGWGetObj (returning early)
* use stat to validate rgw_lookup
* use stat to implement rgw_getattr

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.cc
src/rgw/rgw_file.h
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_os_lib.h