• Takashi Sato's avatar
    [PATCH] 2TB files: add blkcnt_t · a0f62ac6
    Takashi Sato authored
    Add blkcnt_t as the type of inode.i_blocks.  This enables you to make the size
    of blkcnt_t either 4 bytes or 8 bytes on 32 bits architecture with CONFIG_LSF.
    
    - CONFIG_LSF
      Add new configuration parameter.
    - blkcnt_t
      On h8300, i386, mips, powerpc, s390 and sh that define sector_t,
      blkcnt_t is defined as u64 if CONFIG_LSF is enabled; otherwise it is
      defined as unsigned long.
      On other architectures, it is defined as unsigned long.
    - inode.i_blocks
      Change the type from sector_t to blkcnt_t.
    Signed-off-by: default avatarTakashi Sato <sho@tnes.nec.co.jp>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a0f62ac6
Name
Last commit
Last update
..
Kconfig Loading commit data...
Kconfig.iosched Loading commit data...
Makefile Loading commit data...
as-iosched.c Loading commit data...
blktrace.c Loading commit data...
cfq-iosched.c Loading commit data...
deadline-iosched.c Loading commit data...
elevator.c Loading commit data...
genhd.c Loading commit data...
ioctl.c Loading commit data...
ll_rw_blk.c Loading commit data...
noop-iosched.c Loading commit data...
scsi_ioctl.c Loading commit data...