From 48b48750c3f9f91a4e340d0f796734ddd178ad9d Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 20 May 2019 13:44:57 +0100 Subject: zsmalloc: don't bother with dentry_operations Signed-off-by: Al Viro --- mm/zsmalloc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'mm') diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 0787d33b80d8..d9f831f63625 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -1817,11 +1817,7 @@ static void lock_zspage(struct zspage *zspage) static struct dentry *zs_mount(struct file_system_type *fs_type, int flags, const char *dev_name, void *data) { - static const struct dentry_operations ops = { - .d_dname = simple_dname, - }; - - return mount_pseudo(fs_type, "zsmalloc:", NULL, &ops, ZSMALLOC_MAGIC); + return mount_pseudo(fs_type, "zsmalloc:", NULL, NULL, ZSMALLOC_MAGIC); } static struct file_system_type zsmalloc_fs = { -- cgit v1.2.3-55-g7522