summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAl Viro2019-05-20 14:44:57 +0200
committerDavid Howells2019-05-20 15:09:46 +0200
commit48b48750c3f9f91a4e340d0f796734ddd178ad9d (patch)
tree5960e73d64959c644150fb46b0101681e0faef8b /mm
parentballoon: don't bother with dentry_operations (diff)
downloadkernel-qcow2-linux-48b48750c3f9f91a4e340d0f796734ddd178ad9d.tar.gz
kernel-qcow2-linux-48b48750c3f9f91a4e340d0f796734ddd178ad9d.tar.xz
kernel-qcow2-linux-48b48750c3f9f91a4e340d0f796734ddd178ad9d.zip
zsmalloc: don't bother with dentry_operations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
-rw-r--r--mm/zsmalloc.c6
1 files changed, 1 insertions, 5 deletions
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 = {