From: Jaegeuk Kim Date: Mon, 10 Dec 2012 00:26:05 +0000 (+0900) Subject: f2fs: cleanup the f2fs_bio_alloc routine X-Git-Tag: v3.8-rc1~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cd8a23948b29301f8f67b8d70c5c18fabbc05e1;p=pandora-kernel.git 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 Reviewed-by: Namjae Jeon --- Reading git-diff-tree failed