diff options
Diffstat (limited to 'fs/gfs2/rgrp.c')
-rw-r--r-- | fs/gfs2/rgrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index af49c8b82ffb..baa93c5d9592 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "ops_file.h" | 29 | #include "ops_file.h" |
30 | #include "util.h" | 30 | #include "util.h" |
31 | 31 | ||
32 | #define BFITNOENT 0xFFFFFFFF | 32 | #define BFITNOENT (u32)~0 |
33 | 33 | ||
34 | /* | 34 | /* |
35 | * These routines are used by the resource group routines (rgrp.c) | 35 | * These routines are used by the resource group routines (rgrp.c) |
@@ -257,7 +257,7 @@ static inline int rgrp_contains_block(struct gfs2_rindex *ri, u64 block) | |||
257 | { | 257 | { |
258 | u64 first = ri->ri_data0; | 258 | u64 first = ri->ri_data0; |
259 | u64 last = first + ri->ri_data; | 259 | u64 last = first + ri->ri_data; |
260 | return !!(first <= block && block < last); | 260 | return first <= block && block < last; |
261 | } | 261 | } |
262 | 262 | ||
263 | /** | 263 | /** |