]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
admin_socket: pass args separately
authorSage Weil <sage@inktank.com>
Thu, 31 May 2012 03:28:51 +0000 (20:28 -0700)
committerSage Weil <sage@inktank.com>
Thu, 31 May 2012 04:58:17 +0000 (21:58 -0700)
commit5adc85bd9b8a6ed9c393a10b9e73b7c7d802bd29
treede8f3ebe34f95876d7804f5d1b85852adbd52ffb
parent895e24d198ced83ab7fed3725f12f75e3bc97b0b
admin_socket: pass args separately

This avoids making the callback parse off the command portion on their own.
It also lets them assert that the command portion is in the set of
registered commands.

Signed-off-by: Sage Weil <sage@inktank.com>
src/common/admin_socket.cc
src/common/admin_socket.h
src/common/ceph_context.cc
src/common/ceph_context.h
src/mon/Monitor.cc
src/mon/Monitor.h
src/osd/OSD.cc
src/osdc/Objecter.cc
src/osdc/Objecter.h