aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSteven Whitehouse <steve@chygwyn.com>2006-01-18 05:57:10 -0500
committerSteven Whitehouse <steve@chygwyn.com>2006-01-18 05:57:10 -0500
commitb96ca4fa4e3b510d528a093a5bac0befbc2ba46d (patch)
treee4ac82f1d0472d46c8ac30d351b044f1fb3f34d2 /include/linux
parent3bd7662c4de28522d4709ab5a56033e3c33e1d4a (diff)
[GFS2] Update init_dinode() to reduce stack usage
We no longer allocate a dinode on the stack in init_dinode() and we no longer use gfs2_dinode_out (eliminating one copy) and gfs2_meta_header_in (eliminating another copy). The meta_header_in fucntion is now no longer referenced from outside gfs2_ondisk.c, so make it static. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/gfs2_ondisk.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
index 8354b9c4f408..f1302e2616da 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -404,8 +404,6 @@ struct gfs2_quota_change {
404 404
405extern void gfs2_inum_in(struct gfs2_inum *no, char *buf); 405extern void gfs2_inum_in(struct gfs2_inum *no, char *buf);
406extern void gfs2_inum_out(struct gfs2_inum *no, char *buf); 406extern void gfs2_inum_out(struct gfs2_inum *no, char *buf);
407extern void gfs2_meta_header_in(struct gfs2_meta_header *mh, char *buf);
408extern void gfs2_meta_header_out(struct gfs2_meta_header *mh, char *buf);
409extern void gfs2_sb_in(struct gfs2_sb *sb, char *buf); 407extern void gfs2_sb_in(struct gfs2_sb *sb, char *buf);
410extern void gfs2_rindex_in(struct gfs2_rindex *ri, char *buf); 408extern void gfs2_rindex_in(struct gfs2_rindex *ri, char *buf);
411extern void gfs2_rindex_out(struct gfs2_rindex *ri, char *buf); 409extern void gfs2_rindex_out(struct gfs2_rindex *ri, char *buf);