nilfs2: use i_blocksize()
authorGeliang Tang <geliangtang@gmail.com>
Mon, 27 Feb 2017 22:28:38 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:46 +0000 (18:43 -0800)
commitf3048d17d1127f003db10fb8ac9a68610923f783
tree93d49e3fce56599ff682779fbc1751c7ebfbc1ee
parent1508ddc39ab421c0d0569017b9ca3a5b99b0815b
nilfs2: use i_blocksize()

Since i_blocksize() helper has been defined in fs.h, use it instead of
open-coding.

Link: http://lkml.kernel.org/r/1485184655-3895-3-git-send-email-konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nilfs2/alloc.c
fs/nilfs2/btree.c