浏览代码

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>
Gu Zheng 11 年之前
父节点
当前提交
b53f1f82fb
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      fs/aio.c

+ 0 - 1
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->f_flags = O_RDWR;
-	file->private_data = ctx;
 	return file;
 	return file;
 }
 }