提交 4de1e3a8 编写于 作者: D David Howells

z3fold: don't bother with dentry_operations

Don't bother with dentry_operations as no dentry is ever allocated.
Signed-off-by: NDavid Howells <dhowells@redhat.com>
上级 48b48750
......@@ -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 = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册