提交 b53f1f82 编写于 作者: G Gu Zheng 提交者: Benjamin LaHaise

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: NJeff Moyer <jmoyer@redhat.com>
Signed-off-by: NGu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: NBenjamin LaHaise <bcrl@kvack.org>
上级 be6fb451
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册