aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--fs/gfs2/rgrp.c13
-rw-r--r--fs/gfs2/rgrp.h5
-rw-r--r--fs/gfs2/sys.c2
3 files changed, 6 insertions, 14 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 @@
29#include "ops_file.h" 29#include "ops_file.h"
30#include "util.h" 30#include "util.h"
31 31
32#define BFITNOENT (u32)~0 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)
@@ -694,17 +694,6 @@ struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip)
694} 694}
695 695
696/** 696/**
697 * gfs2_alloc_put - throw away the struct gfs2_alloc for an inode
698 * @ip: the inode
699 *
700 */
701
702void gfs2_alloc_put(struct gfs2_inode *ip)
703{
704 return;
705}
706
707/**
708 * try_rgrp_fit - See if a given reservation will fit in a given RG 697 * try_rgrp_fit - See if a given reservation will fit in a given RG
709 * @rgd: the RG data 698 * @rgd: the RG data
710 * @al: the struct gfs2_alloc structure describing the reservation 699 * @al: the struct gfs2_alloc structure describing the reservation
diff --git a/fs/gfs2/rgrp.h b/fs/gfs2/rgrp.h
index 355895767387..9eedfd12bfff 100644
--- a/fs/gfs2/rgrp.h
+++ b/fs/gfs2/rgrp.h
@@ -30,7 +30,10 @@ void gfs2_rgrp_bh_put(struct gfs2_rgrpd *rgd);
30void gfs2_rgrp_repolish_clones(struct gfs2_rgrpd *rgd); 30void gfs2_rgrp_repolish_clones(struct gfs2_rgrpd *rgd);
31 31
32struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip); 32struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip);
33void gfs2_alloc_put(struct gfs2_inode *ip); 33static inline void gfs2_alloc_put(struct gfs2_inode *ip)
34{
35 return; /* Se we can see where ip->i_alloc is used */
36}
34 37
35int gfs2_inplace_reserve_i(struct gfs2_inode *ip, 38int gfs2_inplace_reserve_i(struct gfs2_inode *ip,
36 char *file, unsigned int line); 39 char *file, unsigned int line);
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c
index 7a282a4bde2a..0d7f0a4e3717 100644
--- a/fs/gfs2/sys.c
+++ b/fs/gfs2/sys.c
@@ -223,7 +223,7 @@ static struct kobj_type gfs2_ktype = {
223 223
224static struct kset gfs2_kset = { 224static struct kset gfs2_kset = {
225 .subsys = &fs_subsys, 225 .subsys = &fs_subsys,
226 .kobj = {.name = "gfs2",}, 226 .kobj = {.name = "gfs2"},
227 .ktype = &gfs2_ktype, 227 .ktype = &gfs2_ktype,
228}; 228};
229 229