From b2c9e526d7f3adf6fdec5f655b122e7a5933f42d Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Tue, 9 Apr 2013 17:36:21 +0200 Subject: [PATCH] vfs: Revert kvm changes in "constify a bunch of struct file_operations instances" See commit 9df102be31af82bf1edfc88fc6b0a69464227b71 in vfs.git#for-next. Signed-off-by: Sedat Dilek --- virt/kvm/kvm_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 77bbbf1..adc68fe 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -1854,7 +1854,7 @@ static int kvm_vcpu_release(struct inode *inode, struct file *filp) return 0; } -static const struct file_operations kvm_vcpu_fops = { +static struct file_operations kvm_vcpu_fops = { .release = kvm_vcpu_release, .unlocked_ioctl = kvm_vcpu_ioctl, #ifdef CONFIG_COMPAT @@ -2375,7 +2375,7 @@ static int kvm_vm_mmap(struct file *file, struct vm_area_struct *vma) return 0; } -static const struct file_operations kvm_vm_fops = { +static struct file_operations kvm_vm_fops = { .release = kvm_vm_release, .unlocked_ioctl = kvm_vm_ioctl, #ifdef CONFIG_COMPAT @@ -2473,7 +2473,7 @@ out: return r; } -static const struct file_operations kvm_chardev_ops = { +static struct file_operations kvm_chardev_ops = { .unlocked_ioctl = kvm_dev_ioctl, .compat_ioctl = kvm_dev_ioctl, .llseek = noop_llseek, -- 1.8.2