From: Al Viro Date: Mon, 20 May 2019 12:44:56 +0000 (+0100) Subject: cxlflash: don't bother with dentry_operations X-Git-Tag: v5.4-rc1~507^2~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b1e058e0f529d6e097c35dfeb932bd10fc8e4fb;p=platform%2Fkernel%2Flinux-rpi.git cxlflash: don't bother with dentry_operations Signed-off-by: Al Viro --- diff --git a/drivers/scsi/cxlflash/ocxl_hw.c b/drivers/scsi/cxlflash/ocxl_hw.c index 37b8dc60..31cfdf2 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); }