ceph: send LSSNAP request to auth mds of directory inode
authorYan, Zheng <zyan@redhat.com>
Wed, 26 Jul 2017 04:48:08 +0000 (12:48 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 6 Sep 2017 17:56:46 +0000 (19:56 +0200)
commit5d37ca1480a70f437e4c425ee5723c760cf6afac
tree8655991c60dc18e5ef228247fe3636373b713724
parent8d45b911a9f106ec898ec531d5badba5df7c2748
ceph: send LSSNAP request to auth mds of directory inode

Snapdir inode has no capability. __choose_mds() should choose mds
base on capabilities of snapdir's parent inode.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/dir.c
fs/ceph/mds_client.c