From: Al Viro Date: Mon, 20 May 2019 12:44:56 +0000 (+0100) Subject: cxl: don't bother with dentry_operations X-Git-Tag: v5.3-rc1~31^2~61 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=619a6d167b29b0e39a049a989d4675d4596afe60;p=linux.git cxl: don't bother with dentry_operations default will do Signed-off-by: Al Viro --- 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); }