commit | 940a6d34b31b96f0748a4b688a551a0890b2b229 | [log] [tgz] |
---|---|---|
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | Fri Dec 20 17:39:59 2013 +0800 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Mon Dec 23 10:18:07 2013 +0900 |
tree | 1db17fcefd8d15d3733877b4f6fab3f395ffeac4 | |
parent | ba0697ec98f0244ea180ce336f399d1a24eb7bf8 [diff] |
f2fs: move all the bio initialization into __bio_alloc Move all the bio initialization into __bio_alloc, and some minor cleanups are also added. v3: Use 'bool' rather than 'int' as Kim suggested. v2: Use 'is_read' rather than 'rw' as Yu Chao suggested. Remove the needless initialization of bio->bi_private. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>