diff options
-rw-r--r-- | net/netfilter/xt_quota2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/netfilter/xt_quota2.c b/net/netfilter/xt_quota2.c index 24b774263aa6..869b192ad76c 100644 --- a/net/netfilter/xt_quota2.c +++ b/net/netfilter/xt_quota2.c @@ -169,10 +169,10 @@ static ssize_t quota_proc_write(struct file *file, const char __user *input, return size; } -static const struct file_operations q2_counter_fops = { - .read = quota_proc_read, - .write = quota_proc_write, - .llseek = default_llseek, +static const struct proc_ops q2_counter_fops = { + .proc_read = quota_proc_read, + .proc_write = quota_proc_write, + .proc_lseek = default_llseek, }; static struct xt_quota_counter * |