提交 8b1e058e 编写于 作者: A Al Viro 提交者: David Howells

cxlflash: don't bother with dentry_operations

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 619a6d16
......@@ -35,10 +35,6 @@
static int ocxlflash_fs_cnt;
static struct vfsmount *ocxlflash_vfs_mount;
static const struct dentry_operations ocxlflash_fs_dops = {
.d_dname = simple_dname,
};
/*
* ocxlflash_fs_mount() - mount the pseudo-filesystem
* @fs_type: File system type.
......@@ -52,7 +48,7 @@ static struct dentry *ocxlflash_fs_mount(struct file_system_type *fs_type,
int flags, const char *dev_name,
void *data)
{
return mount_pseudo(fs_type, "ocxlflash:", NULL, &ocxlflash_fs_dops,
return mount_pseudo(fs_type, "ocxlflash:", NULL, NULL,
OCXLFLASH_FS_MAGIC);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册