summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2014-07-23 12:03:51 +0200
committerBenjamin LaHaise <bcrl@kvack.org>2014-07-24 16:59:40 +0200
commitb53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2 (patch)
tree93925bf6140d25aa23865376f67ec9544088c1c8 /fs
parentaio: remove no longer needed preempt_disable() (diff)
downloadlinux-b53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2.tar.xz
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')
-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;
}