Files
linux/fs/ceph
Chengguang Xu 087d268b76 ceph: fix dentry leak when failing to init debugfs
[ Upstream commit 18106734b5 ]

When failing from ceph_fs_debugfs_init() in ceph_real_mount(),
there is lack of dput of root_dentry and it causes slab errors,
so change the calling order of ceph_fs_debugfs_init() and
open_root_dentry() and do some cleanups to avoid this issue.

Signed-off-by: Chengguang Xu <cgxu519@icloud.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:50:32 +02:00
..
2017-09-07 08:35:40 +02:00
2017-09-07 08:35:40 +02:00
2016-06-01 10:31:50 +02:00
2017-07-27 15:08:07 -07:00
2016-06-24 23:49:03 -04:00
2012-05-16 14:28:27 -05:00
2013-12-31 20:32:01 +02:00
2016-10-03 16:13:49 +02:00
2013-12-31 20:32:01 +02:00
2016-05-26 01:15:31 +02:00
2016-07-28 03:00:44 +02:00