summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cxl
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-05-20 13:44:56 +0100
committerDavid Howells <dhowells@redhat.com>2019-05-20 14:09:46 +0100
commit619a6d167b29b0e39a049a989d4675d4596afe60 (patch)
tree30f0ce24d699fc4830067d20690ba6b5b64872f7 /drivers/misc/cxl
parentfb9273f2c10d100c0fa6544484bc806903d704da (diff)
downloadlinux-619a6d167b29b0e39a049a989d4675d4596afe60.tar.bz2
cxl: don't bother with dentry_operations
default will do Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/misc/cxl')
-rw-r--r--drivers/misc/cxl/api.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/misc/cxl/api.c b/drivers/misc/cxl/api.c
index 750470ef2049..a59c7af79873 100644
--- a/drivers/misc/cxl/api.c
+++ b/drivers/misc/cxl/api.c
@@ -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);
}