aboutsummaryrefslogtreecommitdiffstats
path: root/fs/aio.c
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2014-07-23 06:03:51 -0400
committerBenjamin LaHaise <bcrl@kvack.org>2014-07-24 10:59:40 -0400
commitb53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2 (patch)
tree93925bf6140d25aa23865376f67ec9544088c1c8 /fs/aio.c
parentbe6fb451a24582732c66e28cb0beb3f19c4289fd (diff)
aio: remove the needless registration of ring file's private_data
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>
Diffstat (limited to 'fs/aio.c')
-rw-r--r--fs/aio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/aio.c b/fs/aio.c
index 9ce9e8ea773f..55e03a858e8b 100644
--- 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)
192 } 192 }
193 193
194 file->f_flags = O_RDWR; 194 file->f_flags = O_RDWR;
195 file->private_data = ctx;
196 return file; 195 return file;
197} 196}
198 197