projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea67eed
)
[GFS2] Style changes in rgrp.c
author
Steven Whitehouse
<swhiteho@redhat.com>
Tue, 5 Sep 2006 15:15:45 +0000
(11:15 -0400)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Tue, 5 Sep 2006 15:15:45 +0000
(11:15 -0400)
Change one constant plus remove a redundant !!.
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/rgrp.c
b/fs/gfs2/rgrp.c
index af49c8b82ffb870576da71182d912f8c4196cfa7..baa93c5d9592f0b9a7486d58cbb64fd8e01ac9d1 100644
(file)
--- 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
;
}
/**
This page took
0.026503 seconds
and
5
git commands to generate.