Commit fb9273f2 authored by Al Viro's avatar Al Viro Committed by David Howells
Browse files

drm: don't bother with super_operations and dentry_operations



defaults will do just fine.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a188339c
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -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);
}