diff options
Diffstat (limited to 'include/linux/ext3_fs_i.h')
| -rw-r--r-- | include/linux/ext3_fs_i.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/include/linux/ext3_fs_i.h b/include/linux/ext3_fs_i.h index 7abf90147180..4395e5206746 100644 --- a/include/linux/ext3_fs_i.h +++ b/include/linux/ext3_fs_i.h | |||
| @@ -21,13 +21,21 @@ | |||
| 21 | #include <linux/seqlock.h> | 21 | #include <linux/seqlock.h> |
| 22 | #include <linux/mutex.h> | 22 | #include <linux/mutex.h> |
| 23 | 23 | ||
| 24 | /* data type for block offset of block group */ | ||
| 25 | typedef int ext3_grpblk_t; | ||
| 26 | |||
| 27 | /* data type for filesystem-wide blocks number */ | ||
| 28 | typedef unsigned long ext3_fsblk_t; | ||
| 29 | |||
| 30 | #define E3FSBLK "%lu" | ||
| 31 | |||
| 24 | struct ext3_reserve_window { | 32 | struct ext3_reserve_window { |
| 25 | __u32 _rsv_start; /* First byte reserved */ | 33 | ext3_fsblk_t _rsv_start; /* First byte reserved */ |
| 26 | __u32 _rsv_end; /* Last byte reserved or 0 */ | 34 | ext3_fsblk_t _rsv_end; /* Last byte reserved or 0 */ |
| 27 | }; | 35 | }; |
| 28 | 36 | ||
| 29 | struct ext3_reserve_window_node { | 37 | struct ext3_reserve_window_node { |
| 30 | struct rb_node rsv_node; | 38 | struct rb_node rsv_node; |
| 31 | __u32 rsv_goal_size; | 39 | __u32 rsv_goal_size; |
| 32 | __u32 rsv_alloc_hit; | 40 | __u32 rsv_alloc_hit; |
| 33 | struct ext3_reserve_window rsv_window; | 41 | struct ext3_reserve_window rsv_window; |
| @@ -50,7 +58,7 @@ struct ext3_block_alloc_info { | |||
| 50 | * allocated to this file. This give us the goal (target) for the next | 58 | * allocated to this file. This give us the goal (target) for the next |
| 51 | * allocation when we detect linearly ascending requests. | 59 | * allocation when we detect linearly ascending requests. |
| 52 | */ | 60 | */ |
| 53 | __u32 last_alloc_physical_block; | 61 | ext3_fsblk_t last_alloc_physical_block; |
| 54 | }; | 62 | }; |
| 55 | 63 | ||
| 56 | #define rsv_start rsv_window._rsv_start | 64 | #define rsv_start rsv_window._rsv_start |
| @@ -67,7 +75,7 @@ struct ext3_inode_info { | |||
| 67 | __u8 i_frag_no; | 75 | __u8 i_frag_no; |
| 68 | __u8 i_frag_size; | 76 | __u8 i_frag_size; |
| 69 | #endif | 77 | #endif |
| 70 | __u32 i_file_acl; | 78 | ext3_fsblk_t i_file_acl; |
| 71 | __u32 i_dir_acl; | 79 | __u32 i_dir_acl; |
| 72 | __u32 i_dtime; | 80 | __u32 i_dtime; |
| 73 | 81 | ||
