diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2013-07-25 11:30:01 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-07-30 15:17:03 +0900 |
commit | d8207f69589c74037128ff6c9e1a44223fad3b7c (patch) | |
tree | 12c968310ef5bb8a71ba68dd9d2bade99d06cc79 /fs/f2fs/dir.c | |
parent | 60ed9a0f53c55d4be3882f7522e8349a5011a1d5 (diff) |
f2fs: move bio_private allocation out of f2fs_bio_alloc()
bio->bi_private is not always needed. As in the reading data path,
end_read_io does not need bio_private for further using, so moving
bio_private allocation out of f2fs_bio_alloc(). Alloc it in the
submit_write_page(), and ignore it in the f2fs_readpage().
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/dir.c')
0 files changed, 0 insertions, 0 deletions