libceph: provide osd number when creating osd
authorAlex Elder <elder@inktank.com>
Sun, 27 May 2012 04:26:43 +0000 (23:26 -0500)
committerAlex Elder <elder@dreamhost.com>
Fri, 1 Jun 2012 13:37:56 +0000 (08:37 -0500)
commite10006f807ffc4d5b1d861305d18d9e8145891ca
tree9ec1b9111d6fdf4a6d5570b634bfc53caeccea67
parentce2c8903e76e690846a00a0284e4bd9ee954d680
libceph: provide osd number when creating osd

Pass the osd number to the create_osd() routine, and move the
initialization of fields that depend on it therein.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/osd_client.c