ceph: fix null pointer dereference in send_mds_reconnect()
authorYan, Zheng <zyan@redhat.com>
Tue, 7 Apr 2015 07:51:08 +0000 (15:51 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 22 Apr 2015 15:33:31 +0000 (18:33 +0300)
commitc0bd50e2eeddf139d8f61e709d7003210301e93a
treeabb39df3a25758ce80e0d6f19b821d208dcd640e
parent32ec4397756d072873ee778cbf41b9f6a335b953
ceph: fix null pointer dereference in send_mds_reconnect()

sb->s_root can be null when umounting

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