Fabian Frederick 93407472a2 fs: add i_blocksize()
Replace all 1 << inode->i_blkbits and (1 << inode->i_blkbits) in fs
branch.

This patch also fixes multiple checkpatch warnings: WARNING: Prefer
'unsigned int' to bare use of 'unsigned'

Thanks to Andrew Morton for suggesting more appropriate function instead
of macro.

[geliangtang@gmail.com: truncate: use i_blocksize()]
  Link: http://lkml.kernel.org/r/9c8b2cd83c8f5653805d43debde9fa8817e02fc4.1484895804.git.geliangtang@gmail.com
Link: http://lkml.kernel.org/r/1481319905-10126-1-git-send-email-fabf@skynet.be
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-27 18:43:46 -08:00
..
2006-10-02 09:55:27 -05:00
2008-05-13 08:22:10 -05:00
2016-03-30 10:48:28 -05:00
2013-06-29 12:56:42 +04:00
2013-06-05 14:47:19 -05:00
2006-10-02 09:55:27 -05:00
2016-03-30 10:48:28 -05:00
2007-04-26 07:30:29 -05:00
2011-03-31 11:26:23 -03:00
2010-08-09 11:25:17 +02:00
2013-06-05 14:47:19 -05:00
2016-09-06 12:17:24 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2009-02-02 13:43:28 -06:00
2017-02-27 18:43:46 -08:00