Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38831
b: refs/heads/master
c: 2c1e52a
h: refs/heads/master
i:
  38829: 4411b6c
  38827: 981ade0
  38823: 14e287d
  38815: 096a95c
v: v3
  • Loading branch information
Steven Whitehouse committed Sep 5, 2006
1 parent 1ddf60f commit 101ca6a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48fac1790935ef2f9548d92e7c8ba604d1b80c12
refs/heads/master: 2c1e52aa905f2223dc600cfeda6c0dc94fac8b81
13 changes: 1 addition & 12 deletions trunk/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 (u32)~0
#define BFITNOENT ((u32)~0)

/*
* These routines are used by the resource group routines (rgrp.c)
Expand Down Expand Up @@ -693,17 +693,6 @@ struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip)
return al;
}

/**
* 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
Expand Down
5 changes: 4 additions & 1 deletion trunk/fs/gfs2/rgrp.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ void gfs2_rgrp_bh_put(struct gfs2_rgrpd *rgd);
void gfs2_rgrp_repolish_clones(struct gfs2_rgrpd *rgd);

struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip);
void gfs2_alloc_put(struct gfs2_inode *ip);
static inline void gfs2_alloc_put(struct gfs2_inode *ip)
{
return; /* Se we can see where ip->i_alloc is used */
}

int gfs2_inplace_reserve_i(struct gfs2_inode *ip,
char *file, unsigned int line);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ static struct kobj_type gfs2_ktype = {

static struct kset gfs2_kset = {
.subsys = &fs_subsys,
.kobj = {.name = "gfs2",},
.kobj = {.name = "gfs2"},
.ktype = &gfs2_ktype,
};

Expand Down

0 comments on commit 101ca6a

Please sign in to comment.