From: Al Viro Date: Mon, 20 May 2019 12:44:56 +0000 (+0100) Subject: balloon: don't bother with dentry_operations X-Git-Tag: v5.3-rc1~31^2~59 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=985f4044871a5498206c4957c809c283ca84aca0;p=linux.git balloon: don't bother with dentry_operations Signed-off-by: Al Viro --- 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); }