diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-04-28 10:59:12 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-28 10:59:12 -0400 |
commit | 08bc2dbc7327e89b9d5b9c8ef9401d1df2622fca (patch) | |
tree | 2c16cbd9f5bd856b00ef0a0d9f88b3afa67712ee /fs/gfs2/super.h | |
parent | c56b39cd2c55d521597f04bbd872a08d1c4373ca (diff) |
[GFS2] [-mm patch] fs/gfs2/: possible cleanups
This patch contains the following possible cleanups:
- make needlessly global code static
- #if 0 unused functions
- remove the following global function that was both unused and
unimplemented:
- super.c: gfs2_do_upgrade()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/super.h')
-rw-r--r-- | fs/gfs2/super.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/super.h b/fs/gfs2/super.h index 6abb7b5c8828..175afdde43bb 100644 --- a/fs/gfs2/super.h +++ b/fs/gfs2/super.h | |||
@@ -14,7 +14,6 @@ void gfs2_tune_init(struct gfs2_tune *gt); | |||
14 | 14 | ||
15 | int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb *sb, int silent); | 15 | int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb *sb, int silent); |
16 | int gfs2_read_sb(struct gfs2_sbd *sdp, struct gfs2_glock *gl, int silent); | 16 | int gfs2_read_sb(struct gfs2_sbd *sdp, struct gfs2_glock *gl, int silent); |
17 | int gfs2_do_upgrade(struct gfs2_sbd *sdp, struct gfs2_glock *gl_sb); | ||
18 | 17 | ||
19 | static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp) | 18 | static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp) |
20 | { | 19 | { |
@@ -46,7 +45,6 @@ int gfs2_statfs_sync(struct gfs2_sbd *sdp); | |||
46 | int gfs2_statfs_i(struct gfs2_sbd *sdp, struct gfs2_statfs_change *sc); | 45 | int gfs2_statfs_i(struct gfs2_sbd *sdp, struct gfs2_statfs_change *sc); |
47 | int gfs2_statfs_slow(struct gfs2_sbd *sdp, struct gfs2_statfs_change *sc); | 46 | int gfs2_statfs_slow(struct gfs2_sbd *sdp, struct gfs2_statfs_change *sc); |
48 | 47 | ||
49 | int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp, struct gfs2_holder *t_gh); | ||
50 | int gfs2_freeze_fs(struct gfs2_sbd *sdp); | 48 | int gfs2_freeze_fs(struct gfs2_sbd *sdp); |
51 | void gfs2_unfreeze_fs(struct gfs2_sbd *sdp); | 49 | void gfs2_unfreeze_fs(struct gfs2_sbd *sdp); |
52 | 50 | ||