]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/gfs2/super.c
GFS2: Remove i_disksize
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 11 Aug 2010 08:53:11 +0000 (09:53 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 20 Sep 2010 10:18:29 +0000 (11:18 +0100)
commita2e0f79939e09e74698564b88dee709db208e1e2
tree0018e445e3d47c4558901153733899ef672f789e
parentff8f33c8b30d7b7efdcf2548c7f6e64db6a89b29
GFS2: Remove i_disksize

With the update of the truncate code, ip->i_disksize and
inode->i_size are merely copies of each other. This means
we can remove ip->i_disksize and use inode->i_size exclusively
reducing the size of a GFS2 inode by 8 bytes.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
13 files changed:
fs/gfs2/aops.c
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/file.c
fs/gfs2/glops.c
fs/gfs2/incore.h
fs/gfs2/inode.c
fs/gfs2/inode.h
fs/gfs2/ops_fstype.c
fs/gfs2/ops_inode.c
fs/gfs2/quota.c
fs/gfs2/rgrp.c
fs/gfs2/super.c