projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
985f404
)
zsmalloc: don't bother with dentry_operations
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 20 May 2019 12:44:57 +0000
(13:44 +0100)
committer
David Howells
<dhowells@redhat.com>
Mon, 20 May 2019 13:09:46 +0000
(14:09 +0100)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/zsmalloc.c
patch
|
blob
|
history
diff --git
a/mm/zsmalloc.c
b/mm/zsmalloc.c
index 0787d33b80d83f1dcfa0fcddb8225f0c859b1402..d9f831f6362500cef94432bc2c95ac09a9429910 100644
(file)
--- 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 = {