]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: pass around MetaSession* instead of int mds
authorSage Weil <sage@inktank.com>
Fri, 8 Mar 2013 20:09:03 +0000 (12:09 -0800)
committerSage Weil <sage@inktank.com>
Wed, 13 Mar 2013 23:36:15 +0000 (16:36 -0700)
commit5f2efe62f385ddb82f1098d012371c21d334ea83
tree2db6a88e845fbf08323f75cb572c7088c595c9d8
parentcee87865feb8ba3ed081f9a840c85dc52177f287
client: pass around MetaSession* instead of int mds

This is mostly just shuffling argument types around.  In a few cases we
now assert that the session actually exists; these would have also been
problematic before when we call get_inst() on bad addrs or something, or
silently ignored bugs.

Signed-off-by: Sage Weil <sage@inktank.com>
src/client/Client.cc
src/client/Client.h