From 4de1e3a8ecec3432ed6ed7da0b90b34750358899 Mon Sep 17 00:00:00 2001 From: David Howells Date: Tue, 21 May 2019 08:22:17 +0100 Subject: z3fold: don't bother with dentry_operations Don't bother with dentry_operations as no dentry is ever allocated. Signed-off-by: David Howells --- mm/z3fold.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'mm/z3fold.c') diff --git a/mm/z3fold.c b/mm/z3fold.c index 1ffecd6333e5..0b14daf930a8 100644 --- 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 = { -- cgit