]> git.baikalelectronics.ru Git - kernel.git/commit
[GFS2] Eliminate (almost) duplicate field from gfs2_inode
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 12 Feb 2008 14:17:27 +0000 (14:17 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2008 09:40:55 +0000 (10:40 +0100)
commitcd3b0756f026fcf2252de341c39f44f098d19458
tree2849313fccb193bd3c4f93f241fd5fb98ad871ca
parent2e0ac389361ec906af83e33c99590545503acf45
[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>
fs/gfs2/Kconfig
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/eattr.c
fs/gfs2/incore.h
fs/gfs2/inode.c
fs/gfs2/inode.h
fs/gfs2/ops_inode.c