projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48b4875
)
z3fold: don't bother with dentry_operations
author
David Howells
<dhowells@redhat.com>
Tue, 21 May 2019 07:22:17 +0000
(08:22 +0100)
committer
David Howells
<dhowells@redhat.com>
Tue, 21 May 2019 07:22:17 +0000
(08:22 +0100)
Don't bother with dentry_operations as no dentry is ever allocated.
Signed-off-by: David Howells <dhowells@redhat.com>
mm/z3fold.c
patch
|
blob
|
history
diff --git
a/mm/z3fold.c
b/mm/z3fold.c
index 1ffecd6333e53de006d3b47dfc91f8cfebe43515..0b14daf930a84016ab054b4a2e2acc5965ffa2c4 100644
(file)
--- a/
mm/z3fold.c
+++ b/
mm/z3fold.c
@@
-242,11
+242,7
@@
static inline void free_handle(unsigned long handle)
static struct dentry *z3fold_do_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, "z3fold:", NULL, &ops, 0x33);
+ return mount_pseudo(fs_type, "z3fold:", NULL, NULL, 0x33);
}
static struct file_system_type z3fold_fs = {