summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-05-20 14:44:56 +0200
committerDavid Howells <dhowells@redhat.com>2019-05-20 15:09:46 +0200
commit985f4044871a5498206c4957c809c283ca84aca0 (patch)
tree13cf7b3124ff3b08954d50f2c38a1b34a01f87a0 /drivers/virtio
parentcxlflash: don't bother with dentry_operations (diff)
downloadlinux-985f4044871a5498206c4957c809c283ca84aca0.tar.xz
linux-985f4044871a5498206c4957c809c283ca84aca0.zip
balloon: don't bother with dentry_operations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/virtio')
-rw-r--r--drivers/virtio/virtio_balloon.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index f19061b585a4..554d1a98d193 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -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);
}