]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use ext4_lblk_t instead of sector_t for logical blocks
authorTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2011 17:13:03 +0000 (12:13 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jan 2011 17:13:03 +0000 (12:13 -0500)
commitd454d13d38610dba94e29da4deb0fe6bcefe64c0
treec3ec53c7725bf7a9188e844d8c8c09432d2be6ae
parent1e9ec01c1bcd0d3b49be275562dd8bacfd4a172d
ext4: use ext4_lblk_t instead of sector_t for logical blocks

This fixes a number of places where we used sector_t instead of
ext4_lblk_t for logical blocks, which for ext4 are still 32-bit data
types.  No point wasting space in the ext4_inode_info structure, and
requiring 64-bit arithmetic on 32-bit systems, when it isn't
necessary.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ext4_extents.h
fs/ext4/extents.c
fs/ext4/inode.c