]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit38f340ccdf9ed5f1350505b46c5689d015967057
tree23fd6ca51606fdf6481977bb1e81fa9cba446619
parent9f4057fc937f200f000dbc378c5c3e37d45e31dc
ceph: fix __choose_mds() for LSSNAP request

previous commit 5d37ca14 "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