balloon: don't bother with dentry_operations
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 May 2019 12:44:56 +0000 (13:44 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 20 May 2019 13:09:46 +0000 (14:09 +0100)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/virtio/virtio_balloon.c

index f19061b585a4f73a1fbecd1876592db4a6a39fee..554d1a98d1934d34d9711373aaa74dd82e0847ed 100644 (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);
 }