cxl: don't bother with dentry_operations

default will do

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2019-05-20 13:44:56 +01:00 committed by David Howells
parent fb9273f2c1
commit 619a6d167b
1 changed files with 1 additions and 5 deletions

View File

@ -37,14 +37,10 @@
static int cxl_fs_cnt;
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,
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);
}