[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>
This commit is contained in:
@@ -404,8 +404,6 @@ struct gfs2_quota_change {
|
||||
|
||||
extern void gfs2_inum_in(struct gfs2_inum *no, char *buf);
|
||||
extern void gfs2_inum_out(struct gfs2_inum *no, char *buf);
|
||||
extern void gfs2_meta_header_in(struct gfs2_meta_header *mh, char *buf);
|
||||
extern void gfs2_meta_header_out(struct gfs2_meta_header *mh, char *buf);
|
||||
extern void gfs2_sb_in(struct gfs2_sb *sb, char *buf);
|
||||
extern void gfs2_rindex_in(struct gfs2_rindex *ri, char *buf);
|
||||
extern void gfs2_rindex_out(struct gfs2_rindex *ri, char *buf);
|
||||
|
Reference in New Issue
Block a user