ceph: fix mounting same fs multiple times
authorYan, Zheng <zyan@redhat.com>
Sat, 12 Mar 2016 05:20:48 +0000 (13:20 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2016 17:51:54 +0000 (18:51 +0100)
commit132ca7e1de1e3217af06bce2beb3aa13c3edc7f6
tree261fc4a7546c4a87664de1a8af5922d4addcb2a5
parent4531126753aaf936e2674d28245400c6559ef0ee
ceph: fix mounting same fs multiple times

Now __ceph_open_session() only accepts closed client. An opened
client will tigger BUG_ON().

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/super.c