summaryrefslogtreecommitdiff
path: root/fs/gfs2/rgrp.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-05 15:41:57 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-05 15:41:57 -0400
commit2c1e52aa905f2223dc600cfeda6c0dc94fac8b81 (patch)
treee6fde16db33a666fe87da34100c0ad5466654555 /fs/gfs2/rgrp.c
parent48fac1790935ef2f9548d92e7c8ba604d1b80c12 (diff)
[GFS2] More style fixes
As per Jan Engelhardt's follow up emails, here are a few small fixes which were missed earlier. Cc: Jan Engelhardt <jengelh@linux01.gwdg.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.c')
-rw-r--r--fs/gfs2/rgrp.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index baa93c5d9592..7a5ab817ad9c 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -29,7 +29,7 @@
#include "ops_file.h"
#include "util.h"
-#define BFITNOENT (u32)~0
+#define BFITNOENT ((u32)~0)
/*
* These routines are used by the resource group routines (rgrp.c)
@@ -694,17 +694,6 @@ struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip)
}
/**
- * gfs2_alloc_put - throw away the struct gfs2_alloc for an inode
- * @ip: the inode
- *
- */
-
-void gfs2_alloc_put(struct gfs2_inode *ip)
-{
- return;
-}
-
-/**
* try_rgrp_fit - See if a given reservation will fit in a given RG
* @rgd: the RG data
* @al: the struct gfs2_alloc structure describing the reservation