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/bmap.c | |
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/bmap.c')
-rw-r--r-- | fs/gfs2/bmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index 68bc3be09c98..f570d8caef68 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c | |||
@@ -59,7 +59,7 @@ struct strip_mine { | |||
59 | * | 59 | * |
60 | * Returns: errno | 60 | * Returns: errno |
61 | */ | 61 | */ |
62 | 62 | #if 0 | |
63 | int gfs2_unstuffer_sync(struct gfs2_inode *ip, struct buffer_head *dibh, | 63 | int gfs2_unstuffer_sync(struct gfs2_inode *ip, struct buffer_head *dibh, |
64 | uint64_t block, void *private) | 64 | uint64_t block, void *private) |
65 | { | 65 | { |
@@ -77,6 +77,7 @@ int gfs2_unstuffer_sync(struct gfs2_inode *ip, struct buffer_head *dibh, | |||
77 | 77 | ||
78 | return error; | 78 | return error; |
79 | } | 79 | } |
80 | #endif /* 0 */ | ||
80 | 81 | ||
81 | /** | 82 | /** |
82 | * gfs2_unstuff_dinode - Unstuff a dinode when the data has grown too big | 83 | * gfs2_unstuff_dinode - Unstuff a dinode when the data has grown too big |