Commit 985f4044 authored by Al Viro's avatar Al Viro Committed by David Howells

balloon: don't bother with dentry_operations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8b1e058e
...@@ -761,11 +761,7 @@ static int virtballoon_migratepage(struct balloon_dev_info *vb_dev_info, ...@@ -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, static struct dentry *balloon_mount(struct file_system_type *fs_type,
int flags, const char *dev_name, void *data) int flags, const char *dev_name, void *data)
{ {
static const struct dentry_operations ops = { return mount_pseudo(fs_type, "balloon-kvm:", NULL, NULL,
.d_dname = simple_dname,
};
return mount_pseudo(fs_type, "balloon-kvm:", NULL, &ops,
BALLOON_KVM_MAGIC); BALLOON_KVM_MAGIC);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment