diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-02 04:09:14 +0300 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 18:34:26 +0300 |
commit | a9583c7983cbba9726bfe64ee46613d654fc9e26 (patch) | |
tree | 37a23321b8254499e48f93bc65d946ab47547fa4 /fs/gfs2/dir.c | |
parent | 1a7b1eed5802502fd649e04784becd58557fdcf1 (diff) | |
download | linux-a9583c7983cbba9726bfe64ee46613d654fc9e26.tar.xz |
[GFS2] Shrink gfs2_inode (7) - di_payload_format
This is almost never used. Its there for backward
compatibility with GFS1. It doesn't need its own
field since it can always be calculated from the
inode mode & flags. This saves a bit more space
in the gfs2_inode.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/dir.c')
-rw-r--r-- | fs/gfs2/dir.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c index ca23c8beb3f0..c82d7cb4a654 100644 --- a/fs/gfs2/dir.c +++ b/fs/gfs2/dir.c @@ -902,7 +902,6 @@ static int dir_make_exhash(struct inode *inode) dip->i_di.di_size = sdp->sd_sb.sb_bsize / 2; dip->i_di.di_blocks++; dip->i_di.di_flags |= GFS2_DIF_EXHASH; - dip->i_di.di_payload_format = 0; for (x = sdp->sd_hash_ptrs, y = -1; x; x >>= 1, y++) ; dip->i_di.di_depth = y; |