balloon: don't bother with dentry_operations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2019-05-20 13:44:56 +01:00 committed by David Howells
parent 8b1e058e0f
commit 985f404487

View File

@ -761,11 +761,7 @@ static int virtballoon_migratepage(struct balloon_dev_info *vb_dev_info,
static struct dentry *balloon_mount(struct file_system_type *fs_type,
int flags, const char *dev_name, void *data)
{
static const struct dentry_operations ops = {
.d_dname = simple_dname,
};
return mount_pseudo(fs_type, "balloon-kvm:", NULL, &ops,
return mount_pseudo(fs_type, "balloon-kvm:", NULL, NULL,
BALLOON_KVM_MAGIC);
}