cxl: don't bother with dentry_operations
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 May 2019 12:44:56 +0000 (13:44 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 20 May 2019 13:09:46 +0000 (14:09 +0100)
default will do

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/misc/cxl/api.c

index 750470ef2049b4ac4bef4ab73dcee30416a44331..a59c7af798736cf77a1b9f6385946257628a6277 100644 (file)
 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);
 }