]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ceph: drop negative child dentries before try pruning inode's alias
authorYan, Zheng <zyan@redhat.com>
Thu, 30 Nov 2017 03:59:22 +0000 (11:59 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 8 Dec 2017 10:07:12 +0000 (11:07 +0100)
commit040d786032bf59002d374b86d75b04d97624005c
treed2f3bfce2cb09ef1f6d7c6ce55b4646b8e3f13c9
parentae64f9bd1d3621b5e60d7363bc20afb46aede215
ceph: drop negative child dentries before try pruning inode's alias

Negative child dentry holds reference on inode's alias, it makes
d_prune_aliases() do nothing.

Cc: stable@vger.kernel.org
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c