• S
    [GFS2] Eliminate (almost) duplicate field from gfs2_inode · 77658aad
    Steven Whitehouse 提交于
    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: NSteven Whitehouse <swhiteho@redhat.com>
    77658aad
bmap.c 29.7 KB