summaryrefslogtreecommitdiff
path: root/drivers/scsi/cxlflash
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-05-20 15:44:56 +0300
committerDavid Howells <dhowells@redhat.com>2019-05-20 16:09:46 +0300
commit8b1e058e0f529d6e097c35dfeb932bd10fc8e4fb (patch)
tree727dd9aa15025594ac24d0e45f5d7e2f2fa58714 /drivers/scsi/cxlflash
parent619a6d167b29b0e39a049a989d4675d4596afe60 (diff)
downloadlinux-8b1e058e0f529d6e097c35dfeb932bd10fc8e4fb.tar.xz
cxlflash: don't bother with dentry_operations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/scsi/cxlflash')
-rw-r--r--drivers/scsi/cxlflash/ocxl_hw.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/scsi/cxlflash/ocxl_hw.c b/drivers/scsi/cxlflash/ocxl_hw.c
index 37b8dc60f5f6..31cfdf2c8c30 100644
--- a/drivers/scsi/cxlflash/ocxl_hw.c
+++ b/drivers/scsi/cxlflash/ocxl_hw.c
@@ -35,10 +35,6 @@
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);
}