[GFS2] Shrink gfs2_inode (1) - di_header/di_num
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 1 Nov 2006 15:34:15 +0000 (10:34 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 30 Nov 2006 15:34:07 +0000 (10:34 -0500)
commitaf339c0241d0dd3b35f9097b4f4999bb22ffe502
treec4c3e66de3c63b7a8205717bdf833dd567f6b746
parent4cc14f0b88bf3e0b508143e091eb5a8dff3e3b9c
[GFS2] Shrink gfs2_inode (1) - di_header/di_num

The metadata header doesn't need to be stored in the incore
struct gfs2_inode since its constant, and this patch removes it.
Also, there is already a field for the inode's number in the
struct gfs2_inode, so we don't need one in struct gfs2_dinode_host
as well.

This saves 28 bytes of space in the struct gfs2_inode.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c
fs/gfs2/ondisk.c
include/linux/gfs2_ondisk.h