Commit 48b48750 authored by Al Viro's avatar Al Viro Committed by David Howells

zsmalloc: don't bother with dentry_operations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 985f4044
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment