diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2013-07-25 11:30:01 +0800 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:43:56 +0900 |
commit | d148aa71235487eaf77dfec7cdcba2b99d5eb9eb (patch) | |
tree | 4d8719dde52b0da7c3aac901cfefbaab9b912256 /fs/f2fs/namei.c | |
parent | f91dc469fae2bb06e13511e4c36ddebd4d480f06 (diff) | |
download | linux-3.10-d148aa71235487eaf77dfec7cdcba2b99d5eb9eb.tar.gz linux-3.10-d148aa71235487eaf77dfec7cdcba2b99d5eb9eb.tar.bz2 linux-3.10-d148aa71235487eaf77dfec7cdcba2b99d5eb9eb.zip |
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/namei.c')
0 files changed, 0 insertions, 0 deletions