Fix occurrences of "the the "
[deliverable/linux.git] / include / linux / ext4_fs_i.h
index 18a6ce98537f5d033ac1a2abb6c2937ac0ca9148..d5b177e5b3958338d13bfc46a9d8fcc1e338a9ee 100644 (file)
@@ -25,9 +25,7 @@
 typedef int ext4_grpblk_t;
 
 /* data type for filesystem-wide blocks number */
-typedef unsigned long ext4_fsblk_t;
-
-#define E3FSBLK "%lu"
+typedef unsigned long long ext4_fsblk_t;
 
 struct ext4_reserve_window {
        ext4_fsblk_t    _rsv_start;     /* First byte reserved */
@@ -54,7 +52,7 @@ struct ext4_block_alloc_info {
        /*
         * Was i_next_alloc_goal in ext4_inode_info
         * is the *physical* companion to i_next_alloc_block.
-        * it the the physical block number of the block which was most-recentl
+        * it the physical block number of the block which was most-recentl
         * allocated to this file.  This give us the goal (target) for the next
         * allocation when we detect linearly ascending requests.
         */
@@ -64,6 +62,16 @@ struct ext4_block_alloc_info {
 #define rsv_start rsv_window._rsv_start
 #define rsv_end rsv_window._rsv_end
 
+/*
+ * storage for cached extent
+ */
+struct ext4_ext_cache {
+       ext4_fsblk_t    ec_start;
+       __u32           ec_block;
+       __u32           ec_len; /* must be 32bit to return holes */
+       __u32           ec_type;
+};
+
 /*
  * third extended file system inode data in memory
  */
@@ -142,6 +150,9 @@ struct ext4_inode_info {
         */
        struct mutex truncate_mutex;
        struct inode vfs_inode;
+
+       unsigned long i_ext_generation;
+       struct ext4_ext_cache i_cached_extent;
 };
 
 #endif /* _LINUX_EXT4_FS_I */
This page took 0.028423 seconds and 5 git commands to generate.