From: Al Viro Date: Mon, 20 May 2019 12:44:56 +0000 (+0100) Subject: drm: don't bother with super_operations and dentry_operations X-Git-Tag: v5.4-rc1~507^2~62 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb9273f2c10d100c0fa6544484bc806903d704da;p=platform%2Fkernel%2Flinux-rpi.git drm: don't bother with super_operations and dentry_operations defaults will do just fine. Signed-off-by: Al Viro --- diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 8626214..8b44ac9 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -532,21 +532,13 @@ EXPORT_SYMBOL(drm_dev_unplug); static int drm_fs_cnt; static struct vfsmount *drm_fs_mnt; -static const struct dentry_operations drm_fs_dops = { - .d_dname = simple_dname, -}; - -static const struct super_operations drm_fs_sops = { - .statfs = simple_statfs, -}; - static struct dentry *drm_fs_mount(struct file_system_type *fs_type, int flags, const char *dev_name, void *data) { return mount_pseudo(fs_type, "drm:", - &drm_fs_sops, - &drm_fs_dops, + NULL, + NULL, 0x010203ff); }