summaryrefslogtreecommitdiffstats
path: root/fs/aio.c
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2014-07-23 18:03:51 +0800
committerBenjamin LaHaise <bcrl@kvack.org>2014-07-24 10:59:40 -0400
commitb53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2 (patch)
tree93925bf6140d25aa23865376f67ec9544088c1c8 /fs/aio.c
parentbe6fb451a24582732c66e28cb0beb3f19c4289fd (diff)
downloadlinux-b53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2.tar.gz
linux-b53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2.tar.bz2
linux-b53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2.zip
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)
}
file->f_flags = O_RDWR;
- file->private_data = ctx;
return file;
}