Home
last modified time | relevance | path

Searched hist:"3 cd8a23948b29301f8f67b8d70c5c18fabbc05e1" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dsegment.hdiff 3cd8a23948b29301f8f67b8d70c5c18fabbc05e1 Sun Dec 09 18:26:05 CST 2012 Jaegeuk Kim <jaegeuk.kim@samsung.com> 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>
H A Dsegment.cdiff 3cd8a23948b29301f8f67b8d70c5c18fabbc05e1 Sun Dec 09 18:26:05 CST 2012 Jaegeuk Kim <jaegeuk.kim@samsung.com> 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>
H A Ddata.cdiff 3cd8a23948b29301f8f67b8d70c5c18fabbc05e1 Sun Dec 09 18:26:05 CST 2012 Jaegeuk Kim <jaegeuk.kim@samsung.com> 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>
H A Df2fs.hdiff 3cd8a23948b29301f8f67b8d70c5c18fabbc05e1 Sun Dec 09 18:26:05 CST 2012 Jaegeuk Kim <jaegeuk.kim@samsung.com> 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>