aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ondisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ondisk.c')
-rw-r--r--fs/gfs2/ondisk.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c
index 5a0bdc22a1f4..3be060f1cbe7 100644
--- a/fs/gfs2/ondisk.c
+++ b/fs/gfs2/ondisk.c
@@ -64,7 +64,7 @@ void gfs2_inum_in(struct gfs2_inum *no, char *buf)
64 no->no_addr = be64_to_cpu(str->no_addr); 64 no->no_addr = be64_to_cpu(str->no_addr);
65} 65}
66 66
67void gfs2_inum_out(struct gfs2_inum *no, char *buf) 67void gfs2_inum_out(const struct gfs2_inum *no, char *buf)
68{ 68{
69 struct gfs2_inum *str = (struct gfs2_inum *)buf; 69 struct gfs2_inum *str = (struct gfs2_inum *)buf;
70 70
@@ -342,17 +342,6 @@ void gfs2_dirent_print(struct gfs2_dirent *de, char *name)
342 printk(KERN_INFO " name = %s\n", buf); 342 printk(KERN_INFO " name = %s\n", buf);
343} 343}
344 344
345void gfs2_leaf_in(struct gfs2_leaf *lf, char *buf)
346{
347 struct gfs2_leaf *str = (struct gfs2_leaf *)buf;
348
349 gfs2_meta_header_in(&lf->lf_header, buf);
350 lf->lf_depth = be16_to_cpu(str->lf_depth);
351 lf->lf_entries = be16_to_cpu(str->lf_entries);
352 lf->lf_dirent_format = be32_to_cpu(str->lf_dirent_format);
353 lf->lf_next = be64_to_cpu(str->lf_next);
354}
355
356void gfs2_leaf_print(struct gfs2_leaf *lf) 345void gfs2_leaf_print(struct gfs2_leaf *lf)
357{ 346{
358 gfs2_meta_header_print(&lf->lf_header); 347 gfs2_meta_header_print(&lf->lf_header);