Commit b53f1f82 authored by Gu Zheng's avatar Gu Zheng Committed by 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: default avatarJeff Moyer <jmoyer@redhat.com>
Signed-off-by: default avatarGu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: default avatarBenjamin LaHaise <bcrl@kvack.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment