projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be6fb45
)
aio: remove the needless registration of ring file's private_data
author
Gu Zheng
<guz.fnst@cn.fujitsu.com>
Wed, 23 Jul 2014 10:03:51 +0000
(18:03 +0800)
committer
Benjamin LaHaise
<bcrl@kvack.org>
Thu, 24 Jul 2014 14:59:40 +0000
(10:59 -0400)
Remove the registration of ring file's private_data, we do not use
it.
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
fs/aio.c
patch
|
blob
|
history
diff --git
a/fs/aio.c
b/fs/aio.c
index 9ce9e8ea773fb9f798e2def8f06ec750af62859a..55e03a858e8b0b6b6dec8553e469c1c0fd5bff24 100644
(file)
--- a/
fs/aio.c
+++ b/
fs/aio.c
@@
-192,7
+192,6
@@
static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages)
}
file->f_flags = O_RDWR;
- file->private_data = ctx;
return file;
}