Skip to content

Commit 95f2535

Browse files
Will McVickervknecht
Will McVicker
authored andcommitted
ANDROID: Replace "PDE_DATA" with "pde_data"
Commit 359745d ("proc: remove PDE_DATA() completely") removed PDE_DATA macro in favor of pde_data. So replace all instances of PDE_DATA to use pde_data. Fixes: 359745d ("proc: remove PDE_DATA() completely") Signed-off-by: Will McVicker <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Change-Id: I83ee420b78064500675d9970a4f0e4f0e8cb5baa
1 parent 45f07a9 commit 95f2535

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/netfilter/xt_quota2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static void quota2_log(unsigned int hooknum,
134134
static ssize_t quota_proc_read(struct file *file, char __user *buf,
135135
size_t size, loff_t *ppos)
136136
{
137-
struct xt_quota_counter *e = PDE_DATA(file_inode(file));
137+
struct xt_quota_counter *e = pde_data(file_inode(file));
138138
char tmp[24];
139139
size_t tmp_size;
140140

@@ -147,7 +147,7 @@ static ssize_t quota_proc_read(struct file *file, char __user *buf,
147147
static ssize_t quota_proc_write(struct file *file, const char __user *input,
148148
size_t size, loff_t *ppos)
149149
{
150-
struct xt_quota_counter *e = PDE_DATA(file_inode(file));
150+
struct xt_quota_counter *e = pde_data(file_inode(file));
151151
char buf[sizeof("18446744073709551616")];
152152

153153
if (size > sizeof(buf))

0 commit comments

Comments
 (0)