]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: move all the bio initialization into __bio_alloc
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Fri, 20 Dec 2013 09:39:59 +0000 (17:39 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:07 +0000 (10:18 +0900)
commit969a2ffa34f575baab310e3b353697d66d6af5b7
tree1db17fcefd8d15d3733877b4f6fab3f395ffeac4
parentcbcfbb702d31cbe6fa2d8f64c61f2ebf7bd1641d
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>
fs/f2fs/data.c