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>
#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)
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
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);
static struct kset gfs2_kset = {
.subsys = &fs_subsys,
- .kobj = {.name = "gfs2",},
+ .kobj = {.name = "gfs2"},
.ktype = &gfs2_ktype,
};