]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/gfs2/inode.c
[GFS2] Update init_dinode() to reduce stack usage
authorSteven Whitehouse <steve@chygwyn.com>
Wed, 18 Jan 2006 10:57:10 +0000 (10:57 +0000)
committerSteven Whitehouse <steve@chygwyn.com>
Wed, 18 Jan 2006 10:57:10 +0000 (10:57 +0000)
commitb96ca4fa4e3b510d528a093a5bac0befbc2ba46d
treee4ac82f1d0472d46c8ac30d351b044f1fb3f34d2
parent3bd7662c4de28522d4709ab5a56033e3c33e1d4a
[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>
fs/gfs2/inode.c
fs/gfs2/ondisk.c
include/linux/gfs2_ondisk.h