]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix dentry leak in splice_dentry()
authorYan, Zheng <zyan@redhat.com>
Tue, 19 Jun 2018 10:20:34 +0000 (18:20 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 26 Jun 2018 16:42:44 +0000 (18:42 +0200)
commit272d560c92113b359efd85982f90b47613a4b1d6
tree4780ca0172a8bdbd80dae7b9d53b6285254799a8
parent90007598d9a0283eacf8ec7c67ce7a5268227fcd
ceph: fix dentry leak in splice_dentry()

In any case, d_splice_alias() does not drop reference of original
dentry.

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/inode.c