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)
commitf5e17aed3accb406f51ae528d657c275efc1edfc
tree29e7c5f349fefdb77af7b6cd708e3579aeae3dd4
parent3bb48b4142bbf72045af5ebe72e65ccff6d02680
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