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/eattr.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/eattr.c')
-rw-r--r-- | fs/gfs2/eattr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/gfs2/eattr.c b/fs/gfs2/eattr.c index 8219d471f06c..d3316cab2be4 100644 --- a/fs/gfs2/eattr.c +++ b/fs/gfs2/eattr.c | |||
@@ -358,6 +358,7 @@ static int ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, | |||
358 | return error; | 358 | return error; |
359 | } | 359 | } |
360 | 360 | ||
361 | #if 0 | ||
361 | 362 | ||
362 | static int gfs2_ea_repack_i(struct gfs2_inode *ip) | 363 | static int gfs2_ea_repack_i(struct gfs2_inode *ip) |
363 | { | 364 | { |
@@ -382,6 +383,8 @@ int gfs2_ea_repack(struct gfs2_inode *ip) | |||
382 | return error; | 383 | return error; |
383 | } | 384 | } |
384 | 385 | ||
386 | #endif /* 0 */ | ||
387 | |||
385 | struct ea_list { | 388 | struct ea_list { |
386 | struct gfs2_ea_request *ei_er; | 389 | struct gfs2_ea_request *ei_er; |
387 | unsigned int ei_size; | 390 | unsigned int ei_size; |