summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2016-01-06 10:56:21 +0100
committerIlya Dryomov <idryomov@gmail.com>2016-03-25 18:51:37 +0100
commit02ac956c42c6284220f427568d5de3ea64aca41c (patch)
tree5b10caeb2c01db9d21f891192ad680f8da187a16 /drivers
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff)
downloadlinux-02ac956c42c6284220f427568d5de3ea64aca41c.tar.xz
linux-02ac956c42c6284220f427568d5de3ea64aca41c.zip
libceph: move debugfs initialization into __ceph_open_session()
Our debugfs dir name is a concatenation of cluster fsid and client unique ID ("global_id"). It used to be the case that we learned global_id first, nowadays we always learn fsid first - the monmap is sent before any auth replies are. ceph_debugfs_client_init() call in ceph_monc_handle_map() is therefore never executed and can be removed. Its counterpart in handle_auth_reply() doesn't really belong there either: having to do monc->client and unlocking early to work around lockdep is a testament to that. Move it into __ceph_open_session(), where it can be called unconditionally. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions