[GFS2] Shrink gfs2_inode (3) - di_mode

This removes the duplicate di_mode field in favour of using the
inode->i_mode field. This saves 4 bytes.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Esse commit está contido em:
Steven Whitehouse
2006-11-01 12:22:46 -05:00
commit b60623c238
15 arquivos alterados com 41 adições e 49 exclusões

Ver arquivo

@@ -22,7 +22,7 @@ static inline int gfs2_is_jdata(struct gfs2_inode *ip)
static inline int gfs2_is_dir(struct gfs2_inode *ip)
{
return S_ISDIR(ip->i_di.di_mode);
return S_ISDIR(ip->i_inode.i_mode);
}
void gfs2_inode_attr_in(struct gfs2_inode *ip);