diff options
author | Mingming Cao <cmm@us.ibm.com> | 2006-10-11 04:21:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 14:14:18 -0400 |
commit | 2ae0210760aed9d626eaede5b63db95e198f7c8e (patch) | |
tree | 40fd1795f7d2b337407876d515a0147d72cea4f4 /include/linux | |
parent | bd81d8eec043094d3ff729a8ff6d5b3a06d3c4b1 (diff) |
[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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ext4_fs_i.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/ext4_fs_i.h b/include/linux/ext4_fs_i.h index 2bed0effdcae..bb42379cb7fd 100644 --- a/include/linux/ext4_fs_i.h +++ b/include/linux/ext4_fs_i.h | |||
@@ -25,13 +25,7 @@ | |||
25 | typedef int ext4_grpblk_t; | 25 | typedef int ext4_grpblk_t; |
26 | 26 | ||
27 | /* data type for filesystem-wide blocks number */ | 27 | /* data type for filesystem-wide blocks number */ |
28 | typedef sector_t ext4_fsblk_t; | 28 | typedef unsigned long long ext4_fsblk_t; |
29 | |||
30 | #if BITS_PER_LONG == 64 | ||
31 | #define E3FSBLK "%lu" | ||
32 | #else | ||
33 | #define E3FSBLK "%llu" | ||
34 | #endif | ||
35 | 29 | ||
36 | struct ext4_reserve_window { | 30 | struct ext4_reserve_window { |
37 | ext4_fsblk_t _rsv_start; /* First byte reserved */ | 31 | ext4_fsblk_t _rsv_start; /* First byte reserved */ |