diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-05-20 13:44:56 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-20 14:09:46 +0100 |
commit | fb9273f2c10d100c0fa6544484bc806903d704da (patch) | |
tree | 3f714eb6c8cb9bc79794d721efba1f5e5439752a /drivers | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) | |
download | linux-fb9273f2c10d100c0fa6544484bc806903d704da.tar.bz2 |
drm: don't bother with super_operations and dentry_operations
defaults will do just fine.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/drm_drv.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 862621494a93..8b44ac9a92ae 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); } |