ext4: Introduce ext4_lblk_t
This patch adds a new data type ext4_lblk_t to represent the logical file blocks. This is the preparatory patch to support large files in ext4 The follow up patch with convert the ext4_inode i_blocks to represent the number of blocks in file system block size. This changes makes it possible to have a block number 2**32 -1 which will result in overflow if the block number is represented by signed long. This patch convert all the block number to type ext4_lblk_t which is typedef to __u32 Also remove dead code ext4_ext_walk_space Signed-off-by:Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by:
Mingming Cao <cmm@us.ibm.com> Signed-off-by:
Eric Sandeen <sandeen@redhat.com>
Showing
- fs/ext4/dir.c 1 addition, 1 deletionfs/ext4/dir.c
- fs/ext4/extents.c 64 additions, 154 deletionsfs/ext4/extents.c
- fs/ext4/inode.c 19 additions, 15 deletionsfs/ext4/inode.c
- fs/ext4/namei.c 30 additions, 24 deletionsfs/ext4/namei.c
- fs/ext4/super.c 2 additions, 2 deletionsfs/ext4/super.c
- include/linux/ext4_fs.h 19 additions, 10 deletionsinclude/linux/ext4_fs.h
- include/linux/ext4_fs_extents.h 2 additions, 17 deletionsinclude/linux/ext4_fs_extents.h
- include/linux/ext4_fs_i.h 6 additions, 3 deletionsinclude/linux/ext4_fs_i.h
Loading
Please register or sign in to comment