Commit 8b1e058e authored by Al Viro's avatar Al Viro Committed by David Howells

cxlflash: don't bother with dentry_operations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 619a6d16
...@@ -35,10 +35,6 @@ ...@@ -35,10 +35,6 @@
static int ocxlflash_fs_cnt; static int ocxlflash_fs_cnt;
static struct vfsmount *ocxlflash_vfs_mount; 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 * ocxlflash_fs_mount() - mount the pseudo-filesystem
* @fs_type: File system type. * @fs_type: File system type.
...@@ -52,7 +48,7 @@ static struct dentry *ocxlflash_fs_mount(struct file_system_type *fs_type, ...@@ -52,7 +48,7 @@ static struct dentry *ocxlflash_fs_mount(struct file_system_type *fs_type,
int flags, const char *dev_name, int flags, const char *dev_name,
void *data) void *data)
{ {
return mount_pseudo(fs_type, "ocxlflash:", NULL, &ocxlflash_fs_dops, return mount_pseudo(fs_type, "ocxlflash:", NULL, NULL,
OCXLFLASH_FS_MAGIC); OCXLFLASH_FS_MAGIC);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment