diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-02-12 14:17:27 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-03-31 10:40:55 +0100 |
commit | 77658aad226866fb94097236d14d41a88aaab2ec (patch) | |
tree | 2849313fccb193bd3c4f93f241fd5fb98ad871ca /fs/gfs2/incore.h | |
parent | 30cbf189cd2a1ba13ff3c8c8ee2103dbdb18578a (diff) | |
download | op-kernel-dev-77658aad226866fb94097236d14d41a88aaab2ec.zip op-kernel-dev-77658aad226866fb94097236d14d41a88aaab2ec.tar.gz |
[GFS2] Eliminate (almost) duplicate field from gfs2_inode
The blocks counter is almost a duplicate of the i_blocks
field in the VFS inode. The only difference is that i_blocks
can be only 32bits long for 32bit arch without large single file
support. Since GFS2 doesn't handle the non-large single file
case (for 32 bit anyway) this adds a new config dependency on
64BIT || LSF. This has always been the case, however we've never
explicitly said so before.
Even if we do add support for the non-LSF case, we will still
not require this field to be duplicated since we will not be
able to access oversized files anyway.
So the net result of all this is that we shave 8 bytes from a gfs2_inode
and get our config deps correct.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 898b456..4ba2ea6 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h @@ -239,7 +239,6 @@ enum { struct gfs2_dinode_host { u64 di_size; /* number of bytes in file */ - u64 di_blocks; /* number of blocks in file */ u64 di_generation; /* generation number for NFS */ u32 di_flags; /* GFS2_DIF_... */ /* These only apply to directories */ |