Skip to content

Commit

Permalink
[GFS2] Style changes in rgrp.c
Browse files Browse the repository at this point in the history
Change one constant plus remove a redundant !!.

Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
Steven Whitehouse committed Sep 5, 2006
1 parent ea67eed commit 1691042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/gfs2/rgrp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 1691042

Please sign in to comment.