aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-04 14:48:37 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-04 14:48:37 -0400
commit38c60ef228596c8e331437ea9287ce035706b107 (patch)
treee54d14229904e3abc7a6cf2176bc150bded3ad07 /include
parent82ffa51637f9239aaddd3151fb0d41c657f760db (diff)
[GFS2] Use const in endian conversion routines
Use const in endian conversion and printing of on-disk structures. Cc: Jan Engelhardt <jengelh@linux01.gwdg.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/gfs2_ondisk.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
index 3ebd8743ce8c..a7ae7c177cac 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -413,30 +413,30 @@ struct gfs2_quota_change {
413#ifdef __KERNEL__ 413#ifdef __KERNEL__
414/* Translation functions */ 414/* Translation functions */
415 415
416extern void gfs2_inum_in(struct gfs2_inum *no, char *buf); 416extern void gfs2_inum_in(struct gfs2_inum *no, const void *buf);
417extern void gfs2_inum_out(const struct gfs2_inum *no, char *buf); 417extern void gfs2_inum_out(const struct gfs2_inum *no, void *buf);
418extern void gfs2_sb_in(struct gfs2_sb *sb, char *buf); 418extern void gfs2_sb_in(struct gfs2_sb *sb, const void *buf);
419extern void gfs2_rindex_in(struct gfs2_rindex *ri, char *buf); 419extern void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf);
420extern void gfs2_rindex_out(struct gfs2_rindex *ri, char *buf); 420extern void gfs2_rindex_out(const struct gfs2_rindex *ri, void *buf);
421extern void gfs2_rgrp_in(struct gfs2_rgrp *rg, char *buf); 421extern void gfs2_rgrp_in(struct gfs2_rgrp *rg, const void *buf);
422extern void gfs2_rgrp_out(struct gfs2_rgrp *rg, char *buf); 422extern void gfs2_rgrp_out(const struct gfs2_rgrp *rg, void *buf);
423extern void gfs2_quota_in(struct gfs2_quota *qu, char *buf); 423extern void gfs2_quota_in(struct gfs2_quota *qu, const void *buf);
424extern void gfs2_quota_out(struct gfs2_quota *qu, char *buf); 424extern void gfs2_quota_out(const struct gfs2_quota *qu, void *buf);
425extern void gfs2_dinode_in(struct gfs2_dinode *di, char *buf); 425extern void gfs2_dinode_in(struct gfs2_dinode *di, const void *buf);
426extern void gfs2_dinode_out(struct gfs2_dinode *di, char *buf); 426extern void gfs2_dinode_out(const struct gfs2_dinode *di, void *buf);
427extern void gfs2_ea_header_in(struct gfs2_ea_header *ea, char *buf); 427extern void gfs2_ea_header_in(struct gfs2_ea_header *ea, const void *buf);
428extern void gfs2_ea_header_out(struct gfs2_ea_header *ea, char *buf); 428extern void gfs2_ea_header_out(const struct gfs2_ea_header *ea, void *buf);
429extern void gfs2_log_header_in(struct gfs2_log_header *lh, char *buf); 429extern void gfs2_log_header_in(struct gfs2_log_header *lh, const void *buf);
430extern void gfs2_inum_range_in(struct gfs2_inum_range *ir, char *buf); 430extern void gfs2_inum_range_in(struct gfs2_inum_range *ir, const void *buf);
431extern void gfs2_inum_range_out(struct gfs2_inum_range *ir, char *buf); 431extern void gfs2_inum_range_out(const struct gfs2_inum_range *ir, void *buf);
432extern void gfs2_statfs_change_in(struct gfs2_statfs_change *sc, char *buf); 432extern void gfs2_statfs_change_in(struct gfs2_statfs_change *sc, const void *buf);
433extern void gfs2_statfs_change_out(struct gfs2_statfs_change *sc, char *buf); 433extern void gfs2_statfs_change_out(const struct gfs2_statfs_change *sc, void *buf);
434extern void gfs2_quota_change_in(struct gfs2_quota_change *qc, char *buf); 434extern void gfs2_quota_change_in(struct gfs2_quota_change *qc, const void *buf);
435 435
436/* Printing functions */ 436/* Printing functions */
437 437
438extern void gfs2_rindex_print(struct gfs2_rindex *ri); 438extern void gfs2_rindex_print(const struct gfs2_rindex *ri);
439extern void gfs2_dinode_print(struct gfs2_dinode *di); 439extern void gfs2_dinode_print(const struct gfs2_dinode *di);
440 440
441#endif /* __KERNEL__ */ 441#endif /* __KERNEL__ */
442 442