Commit 619a6d16 authored by Al Viro's avatar Al Viro Committed by David Howells

cxl: don't bother with dentry_operations

default will do
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent fb9273f2
...@@ -37,14 +37,10 @@ ...@@ -37,14 +37,10 @@
static int cxl_fs_cnt; static int cxl_fs_cnt;
static struct vfsmount *cxl_vfs_mount; static struct vfsmount *cxl_vfs_mount;
static const struct dentry_operations cxl_fs_dops = {
.d_dname = simple_dname,
};
static struct dentry *cxl_fs_mount(struct file_system_type *fs_type, int flags, static struct dentry *cxl_fs_mount(struct file_system_type *fs_type, int flags,
const char *dev_name, void *data) const char *dev_name, void *data)
{ {
return mount_pseudo(fs_type, "cxl:", NULL, &cxl_fs_dops, return mount_pseudo(fs_type, "cxl:", NULL, NULL,
CXL_PSEUDO_FS_MAGIC); CXL_PSEUDO_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