]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
OSD: remove RD flag from CALL ops
authorJosh Durgin <josh.durgin@inktank.com>
Sat, 29 Dec 2012 03:47:09 +0000 (19:47 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Sun, 30 Dec 2012 08:06:11 +0000 (00:06 -0800)
20496b8d2b2c3779a771695c6f778abbdb66d92a forgot to do this. Without
this change, all class methods required regular read permission in
addition to class-read or class-write.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/include/rados.h

index 073ad62bd5feeadbc1c1e519a0a460a64883cbaf..b1eabdf34decd2a8764b00465a927f3e18847e9c 100644 (file)
@@ -244,7 +244,7 @@ enum {
        CEPH_OSD_OP_DNLOCK    = CEPH_OSD_OP_MODE_WR | CEPH_OSD_OP_TYPE_LOCK | 6,
 
        /** exec **/
-       CEPH_OSD_OP_CALL    = CEPH_OSD_OP_MODE_RD | CEPH_OSD_OP_TYPE_EXEC | 1,
+       CEPH_OSD_OP_CALL    = CEPH_OSD_OP_TYPE_EXEC | 1,
 
        /** pg **/
        CEPH_OSD_OP_PGLS      = CEPH_OSD_OP_MODE_RD | CEPH_OSD_OP_TYPE_PG | 1,