mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
ANDROID: fix up xt_quota2 for proc_ops changes
proc now uses proc_ops, not file_operations, so fix it up to handle the 5.6-rc1 merge. Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I80b5ca4448bffa3a0c5cc99a964b7e8aba2450c0
This commit is contained in:
parent
860f41ebc8
commit
8a35207f24
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user