Re: [PATCH 1/1 linux-next] GFS2: use BIT() macro
From: Bob Peterson
Date: Tue Aug 02 2016 - 13:20:38 EST
----- Original Message -----
| 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@xxxxxxxxx>
| ---
| fs/gfs2/aops.c | 2 +-
| fs/gfs2/bmap.c | 6 +++---
| fs/gfs2/dir.c | 20 ++++++++++----------
| fs/gfs2/glock.c | 2 +-
| fs/gfs2/inode.h | 2 +-
| fs/gfs2/ops_fstype.c | 8 ++++----
| fs/gfs2/quota.c | 4 ++--
| fs/gfs2/super.c | 2 +-
| 8 files changed, 23 insertions(+), 23 deletions(-)
|
Hi Fabian,
Thanks. This is now applied to the for-next branch of the linux-gfs2 tree:
https://git.kernel.org/cgit/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=47a9a527946842dd8d83d4c8c8be22b2615b65f5
Regards,
Bob Peterson
Red Hat File Systems