diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-04-26 22:37:09 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-04-26 22:41:32 +0200 |
commit | f4d6b646a1aa6f8e489dd3eeae1a188de0b2a070 (patch) | |
tree | a30809520db526d9bb46ea8e11f9b8311fc81160 /pfinet/linux-src/include | |
parent | 94ce9fa4c443ec9a0e6ecc92cb6b07534c321c75 (diff) |
Fix supporting >4GiB files in ext2fs
* ext2fs/inode.c (diskfs_user_read_node): When sizeof(off_t) >= 8, add
di->i_size_high as high-64bit part to st->st_size. Drop setting
unused info->i_high_size.
(write_node): When sizeof(off_t) >= 8, write high-64bit part of st->st_size
to di->i_size_high.
* ext2fs/ext2_fs_i.h (ext2_inode_info): Remove i_high_size field.
* pfinet/linux-src/include/linux/ext2_fs_i.h (ext2_inode_info): Likewise.
Diffstat (limited to 'pfinet/linux-src/include')
-rw-r--r-- | pfinet/linux-src/include/linux/ext2_fs_i.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pfinet/linux-src/include/linux/ext2_fs_i.h b/pfinet/linux-src/include/linux/ext2_fs_i.h index 8f01f8ad..7df90213 100644 --- a/pfinet/linux-src/include/linux/ext2_fs_i.h +++ b/pfinet/linux-src/include/linux/ext2_fs_i.h @@ -35,7 +35,6 @@ struct ext2_inode_info { __u32 i_next_alloc_goal; __u32 i_prealloc_block; __u32 i_prealloc_count; - __u32 i_high_size; int i_new_inode:1; /* Is a freshly allocated inode */ }; |