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)
commit8b8f53af1ed9df88a4c0fbfdf3db58f62060edf3
tree4780ca0172a8bdbd80dae7b9d53b6285254799a8
parent7daf201d7fe8334e2d2364d4e8ed3394ec9af819
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