]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: track primary dentry link
authorJeff Layton <jlayton@kernel.org>
Tue, 18 Feb 2020 19:12:32 +0000 (14:12 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 30 Mar 2020 10:42:41 +0000 (12:42 +0200)
commit59c55e5a8d8ec67e5fe45b832e6600ab6920f050
tree29e7c5f349fefdb77af7b6cd708e3579aeae3dd4
parentd4063b2c998fdadb21d793ac68ee34b9db5355f1
ceph: track primary dentry link

Newer versions of the MDS will flag a dentry as "primary". In later
patches, we'll need to consult this info, so track it in di->flags.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/dir.c
fs/ceph/inode.c
fs/ceph/super.h
include/linux/ceph/ceph_fs.h