GFS2: use BIT() macro
authorFabian Frederick <fabf@skynet.be>
Tue, 2 Aug 2016 17:05:27 +0000 (12:05 -0500)
committerBob Peterson <rpeterso@redhat.com>
Tue, 2 Aug 2016 17:05:27 +0000 (12:05 -0500)
commit47a9a527946842dd8d83d4c8c8be22b2615b65f5
tree1c244821bac1286dcedc72f09d4d2d9fa343176d
parent731c7d3a205ba89b475b2aa71b5f13dd6ae3de56
GFS2: use BIT() macro

Replace 1 << value shift by more explicit BIT() macro

Also fixes two bare unsigned definitions:

WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
+ unsigned hsize = BIT(ip->i_depth);

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/aops.c
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/glock.c
fs/gfs2/inode.h
fs/gfs2/ops_fstype.c
fs/gfs2/quota.c
fs/gfs2/super.c