aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-05 11:15:45 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-05 11:15:45 -0400
commit16910427e1eb2a8069708ee24406d2d465381ebd (patch)
treeed1e99a42aa7ee6cd5a9b36ef6b644a20f1d9711 /fs
parentea67eedb211d3418fa62fe3477e0d19b2888225e (diff)
downloadkernel_samsung_aries-16910427e1eb2a8069708ee24406d2d465381ebd.zip
kernel_samsung_aries-16910427e1eb2a8069708ee24406d2d465381ebd.tar.gz
kernel_samsung_aries-16910427e1eb2a8069708ee24406d2d465381ebd.tar.bz2
[GFS2] Style changes in rgrp.c
Change one constant plus remove a redundant !!. Cc: Jan Engelhardt <jengelh@linux01.gwdg.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/gfs2/rgrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index af49c8b..baa93c5 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -29,7 +29,7 @@
#include "ops_file.h"
#include "util.h"
-#define BFITNOENT 0xFFFFFFFF
+#define BFITNOENT (u32)~0
/*
* 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)
{
u64 first = ri->ri_data0;
u64 last = first + ri->ri_data;
- return !!(first <= block && block < last);
+ return first <= block && block < last;
}
/**