[PATCH] ext4: blk_type from sector_t to unsigned long long
Change ext4 in-kernel block type (ext4_fsblk_t) from sector_t to unsigned long long. Remove ext4 block type string micro E3FSBLK, replaced with "%llu" [akpm@osdl.org: build fix] Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
bd81d8eec0
commit
2ae0210760
@ -25,13 +25,7 @@
|
||||
typedef int ext4_grpblk_t;
|
||||
|
||||
/* data type for filesystem-wide blocks number */
|
||||
typedef sector_t ext4_fsblk_t;
|
||||
|
||||
#if BITS_PER_LONG == 64
|
||||
#define E3FSBLK "%lu"
|
||||
#else
|
||||
#define E3FSBLK "%llu"
|
||||
#endif
|
||||
typedef unsigned long long ext4_fsblk_t;
|
||||
|
||||
struct ext4_reserve_window {
|
||||
ext4_fsblk_t _rsv_start; /* First byte reserved */
|
||||
|
Reference in New Issue
Block a user