f2fs: use sbi->blocks_per_seg to avoid unnecessary calculation
authorChao Yu <chao2.yu@samsung.com>
Tue, 1 Dec 2015 03:56:52 +0000 (11:56 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 4 Dec 2015 20:07:57 +0000 (12:07 -0800)
commit3519e3f992995d46c200134cfbf84c61b7a01f4c
tree74377f8e784a9d32c68505b2d9ac2751db66b509
parent9006f2c93fe5cc450bc0d3a4924b46393f165b4a
f2fs: use sbi->blocks_per_seg to avoid unnecessary calculation

Use sbi->blocks_per_seg directly to avoid unnecessary calculation when using
1 << sbi->log_blocks_per_seg.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/debug.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/node.h