aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-10-13 21:57:23 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:33:26 -0500
commite928a76f959e89884f6186bb6f846c533847d5df (patch)
treea1946142a0b82c2b6366ddfe7ab02ff706b0a74c /fs/gfs2
parent2a2c98247b822db8df037a56c27201f9d716ac66 (diff)
[GFS2] split and annotate gfs2_meta_header
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/ondisk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c
index 84b1ebc7569e..b5aa7ab97f28 100644
--- a/fs/gfs2/ondisk.c
+++ b/fs/gfs2/ondisk.c
@@ -54,7 +54,7 @@ static void gfs2_inum_print(const struct gfs2_inum *no)
54 printk(KERN_INFO " no_addr = %llu\n", (unsigned long long)no->no_addr); 54 printk(KERN_INFO " no_addr = %llu\n", (unsigned long long)no->no_addr);
55} 55}
56 56
57static void gfs2_meta_header_in(struct gfs2_meta_header *mh, const void *buf) 57static void gfs2_meta_header_in(struct gfs2_meta_header_host *mh, const void *buf)
58{ 58{
59 const struct gfs2_meta_header *str = buf; 59 const struct gfs2_meta_header *str = buf;
60 60
@@ -63,7 +63,7 @@ static void gfs2_meta_header_in(struct gfs2_meta_header *mh, const void *buf)
63 mh->mh_format = be32_to_cpu(str->mh_format); 63 mh->mh_format = be32_to_cpu(str->mh_format);
64} 64}
65 65
66static void gfs2_meta_header_out(const struct gfs2_meta_header *mh, void *buf) 66static void gfs2_meta_header_out(const struct gfs2_meta_header_host *mh, void *buf)
67{ 67{
68 struct gfs2_meta_header *str = buf; 68 struct gfs2_meta_header *str = buf;
69 69
@@ -72,7 +72,7 @@ static void gfs2_meta_header_out(const struct gfs2_meta_header *mh, void *buf)
72 str->mh_format = cpu_to_be32(mh->mh_format); 72 str->mh_format = cpu_to_be32(mh->mh_format);
73} 73}
74 74
75static void gfs2_meta_header_print(const struct gfs2_meta_header *mh) 75static void gfs2_meta_header_print(const struct gfs2_meta_header_host *mh)
76{ 76{
77 pv(mh, mh_magic, "0x%.8X"); 77 pv(mh, mh_magic, "0x%.8X");
78 pv(mh, mh_type, "%u"); 78 pv(mh, mh_type, "%u");