aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lvb.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-04-28 10:59:12 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-04-28 10:59:12 -0400
commit08bc2dbc7327e89b9d5b9c8ef9401d1df2622fca (patch)
tree2c16cbd9f5bd856b00ef0a0d9f88b3afa67712ee /fs/gfs2/lvb.c
parentc56b39cd2c55d521597f04bbd872a08d1c4373ca (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/lvb.c')
-rw-r--r--fs/gfs2/lvb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/lvb.c b/fs/gfs2/lvb.c
index 63b815dad8e7..9d72872c6f73 100644
--- a/fs/gfs2/lvb.c
+++ b/fs/gfs2/lvb.c
@@ -43,6 +43,7 @@ void gfs2_quota_lvb_out(struct gfs2_quota_lvb *qb, char *lvb)
43 str->qb_value = cpu_to_be64(qb->qb_value); 43 str->qb_value = cpu_to_be64(qb->qb_value);
44} 44}
45 45
46#if 0
46void gfs2_quota_lvb_print(struct gfs2_quota_lvb *qb) 47void gfs2_quota_lvb_print(struct gfs2_quota_lvb *qb)
47{ 48{
48 pv(qb, qb_magic, "%u"); 49 pv(qb, qb_magic, "%u");
@@ -50,4 +51,5 @@ void gfs2_quota_lvb_print(struct gfs2_quota_lvb *qb)
50 pv(qb, qb_warn, "%llu"); 51 pv(qb, qb_warn, "%llu");
51 pv(qb, qb_value, "%lld"); 52 pv(qb, qb_value, "%lld");
52} 53}
54#endif /* 0 */
53 55