aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-06-22 11:16:40 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-06-22 11:16:40 -0400
commit43f5d210a02dcf9d8bafb147044f27add10a459a (patch)
tree289de9e5989e96f1c7188216322d40414555a9eb
parentfaf450ef4a8567e4c75a905aadae01cf401d893a (diff)
[GFS2] [-mm patch] fs/gfs2/: make code static
This patch makes the following needlessly global code static: - eaops.c: struct gfs2_security_eaops - rgrp.c: gfs2_free_uninit_di() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
-rw-r--r--fs/gfs2/eaops.c2
-rw-r--r--fs/gfs2/eaops.h2
-rw-r--r--fs/gfs2/rgrp.c2
-rw-r--r--fs/gfs2/rgrp.h1
4 files changed, 2 insertions, 5 deletions
diff --git a/fs/gfs2/eaops.c b/fs/gfs2/eaops.c
index b7e6a37cab6e..3ace242f2b16 100644
--- a/fs/gfs2/eaops.c
+++ b/fs/gfs2/eaops.c
@@ -214,7 +214,7 @@ struct gfs2_eattr_operations gfs2_system_eaops = {
214 .eo_name = "system", 214 .eo_name = "system",
215}; 215};
216 216
217struct gfs2_eattr_operations gfs2_security_eaops = { 217static struct gfs2_eattr_operations gfs2_security_eaops = {
218 .eo_get = security_eo_get, 218 .eo_get = security_eo_get,
219 .eo_set = security_eo_set, 219 .eo_set = security_eo_set,
220 .eo_remove = security_eo_remove, 220 .eo_remove = security_eo_remove,
diff --git a/fs/gfs2/eaops.h b/fs/gfs2/eaops.h
index 965a235c96e8..3dece17e3116 100644
--- a/fs/gfs2/eaops.h
+++ b/fs/gfs2/eaops.h
@@ -23,8 +23,6 @@ unsigned int gfs2_ea_name2type(const char *name, char **truncated_name);
23 23
24extern struct gfs2_eattr_operations gfs2_system_eaops; 24extern struct gfs2_eattr_operations gfs2_system_eaops;
25 25
26extern struct gfs2_eattr_operations gfs2_security_eaops;
27
28extern struct gfs2_eattr_operations *gfs2_ea_ops[]; 26extern struct gfs2_eattr_operations *gfs2_ea_ops[];
29 27
30#endif /* __EAOPS_DOT_H__ */ 28#endif /* __EAOPS_DOT_H__ */
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index 651341918833..14c1f88bfb5d 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -1401,7 +1401,7 @@ void gfs2_unlink_di(struct inode *inode)
1401 gfs2_trans_add_rg(rgd); 1401 gfs2_trans_add_rg(rgd);
1402} 1402}
1403 1403
1404void gfs2_free_uninit_di(struct gfs2_rgrpd *rgd, uint64_t blkno) 1404static void gfs2_free_uninit_di(struct gfs2_rgrpd *rgd, uint64_t blkno)
1405{ 1405{
1406 struct gfs2_sbd *sdp = rgd->rd_sbd; 1406 struct gfs2_sbd *sdp = rgd->rd_sbd;
1407 struct gfs2_rgrpd *tmp_rgd; 1407 struct gfs2_rgrpd *tmp_rgd;
diff --git a/fs/gfs2/rgrp.h b/fs/gfs2/rgrp.h
index e86a532cc159..9c42d2252ddd 100644
--- a/fs/gfs2/rgrp.h
+++ b/fs/gfs2/rgrp.h
@@ -43,7 +43,6 @@ uint64_t gfs2_alloc_di(struct gfs2_inode *ip);
43 43
44void gfs2_free_data(struct gfs2_inode *ip, uint64_t bstart, uint32_t blen); 44void gfs2_free_data(struct gfs2_inode *ip, uint64_t bstart, uint32_t blen);
45void gfs2_free_meta(struct gfs2_inode *ip, uint64_t bstart, uint32_t blen); 45void gfs2_free_meta(struct gfs2_inode *ip, uint64_t bstart, uint32_t blen);
46void gfs2_free_uninit_di(struct gfs2_rgrpd *rgd, uint64_t blkno);
47void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip); 46void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip);
48void gfs2_unlink_di(struct inode *inode); 47void gfs2_unlink_di(struct inode *inode);
49 48