Jaegeuk Kim 3cd8a23948 f2fs: cleanup the f2fs_bio_alloc routine
Do cleanup more for better code readability.

- Change the parameter set of f2fs_bio_alloc()
  This function should allocate a bio only since it is not something like
  f2fs_bio_init(). Instead, the caller should initialize the allocated bio.

- Introduce SECTOR_FROM_BLOCK
  This macro translates a block address to its sector address.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com>
2012-12-11 13:43:45 +09:00
..
2012-12-11 13:43:43 +09:00
2012-12-11 13:43:42 +09:00
2012-12-11 13:43:42 +09:00
2012-12-11 13:43:42 +09:00
2012-12-11 13:43:44 +09:00
2012-12-11 13:43:44 +09:00
2012-12-11 13:43:42 +09:00
2012-12-11 13:43:42 +09:00
2012-12-11 13:43:42 +09:00
2012-12-11 13:43:43 +09:00
2012-12-11 13:43:42 +09:00
2012-12-11 13:43:42 +09:00
2012-12-11 13:43:42 +09:00
2012-12-11 13:43:43 +09:00
2012-12-11 13:43:42 +09:00