summaryrefslogtreecommitdiffstats
path: root/fs
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
parentbe6fb451a24582732c66e28cb0beb3f19c4289fd (diff)
downloadop-kernel-dev-b53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2.zip
op-kernel-dev-b53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2.tar.gz
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 9ce9e8e..55e03a8 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;
}
OpenPOWER on IntegriCloud