cxlflash: 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)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/scsi/cxlflash/ocxl_hw.c

index 37b8dc60f5f6da21df27c7749aca73036cd2a235..31cfdf2c8c303d36f71a9e7f3ef5eb31017d2930 100644 (file)
 static int ocxlflash_fs_cnt;
 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
  * @fs_type:   File system type.
@@ -52,7 +48,7 @@ static struct dentry *ocxlflash_fs_mount(struct file_system_type *fs_type,
                                         int flags, const char *dev_name,
                                         void *data)
 {
-       return mount_pseudo(fs_type, "ocxlflash:", NULL, &ocxlflash_fs_dops,
+       return mount_pseudo(fs_type, "ocxlflash:", NULL, NULL,
                            OCXLFLASH_FS_MAGIC);
 }