]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix __choose_mds() for LSSNAP request
authorYan, Zheng <zyan@redhat.com>
Fri, 22 Sep 2017 03:41:06 +0000 (11:41 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Oct 2017 14:18:16 +0000 (16:18 +0200)
commit2d8b7ae18f10b4ddbb888c9505c1f4a152e73ff9
tree23fd6ca51606fdf6481977bb1e81fa9cba446619
parent371cd140ba4127477a75ec7ae37b8cb45884196d
ceph: fix __choose_mds() for LSSNAP request

previous commit b0f5d89b "ceph: send LSSNAP request to auth mds
of directory inode" is buggy. It makes __choose_mds() choose mds
base on hash of '.snap' dentry.

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