diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-07-23 06:03:51 -0400 |
---|---|---|
committer | Benjamin LaHaise <bcrl@kvack.org> | 2014-07-24 10:59:40 -0400 |
commit | b53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2 (patch) | |
tree | 93925bf6140d25aa23865376f67ec9544088c1c8 /fs/aio.c | |
parent | be6fb451a24582732c66e28cb0beb3f19c4289fd (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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 | ||