git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
linux
/
ext3_fs_i.h
diff --git
a/include/linux/ext3_fs_i.h
b/include/linux/ext3_fs_i.h
index
7abf901
..
4395e52
100644
(file)
--- a/
include/linux/ext3_fs_i.h
+++ b/
include/linux/ext3_fs_i.h
@@
-21,13
+21,21
@@
#include <linux/seqlock.h>
#include <linux/mutex.h>
#include <linux/seqlock.h>
#include <linux/mutex.h>
+/* data type for block offset of block group */
+typedef int ext3_grpblk_t;
+
+/* data type for filesystem-wide blocks number */
+typedef unsigned long ext3_fsblk_t;
+
+#define E3FSBLK "%lu"
+
struct ext3_reserve_window {
struct ext3_reserve_window {
-
__u32
_rsv_start; /* First byte reserved */
-
__u32
_rsv_end; /* Last byte reserved or 0 */
+
ext3_fsblk_t
_rsv_start; /* First byte reserved */
+
ext3_fsblk_t
_rsv_end; /* Last byte reserved or 0 */
};
struct ext3_reserve_window_node {
};
struct ext3_reserve_window_node {
- struct rb_node rsv_node;
+ struct rb_node rsv_node;
__u32 rsv_goal_size;
__u32 rsv_alloc_hit;
struct ext3_reserve_window rsv_window;
__u32 rsv_goal_size;
__u32 rsv_alloc_hit;
struct ext3_reserve_window rsv_window;
@@
-50,7
+58,7
@@
struct ext3_block_alloc_info {
* allocated to this file. This give us the goal (target) for the next
* allocation when we detect linearly ascending requests.
*/
* allocated to this file. This give us the goal (target) for the next
* allocation when we detect linearly ascending requests.
*/
-
__u32
last_alloc_physical_block;
+
ext3_fsblk_t
last_alloc_physical_block;
};
#define rsv_start rsv_window._rsv_start
};
#define rsv_start rsv_window._rsv_start
@@
-67,7
+75,7
@@
struct ext3_inode_info {
__u8 i_frag_no;
__u8 i_frag_size;
#endif
__u8 i_frag_no;
__u8 i_frag_size;
#endif
-
__u32
i_file_acl;
+
ext3_fsblk_t
i_file_acl;
__u32 i_dir_acl;
__u32 i_dtime;
__u32 i_dir_acl;
__u32 i_dtime;