diff options
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r-- | fs/btrfs/btrfs_inode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index ac0b39db27d1..8fed2125689e 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h | |||
@@ -43,6 +43,7 @@ | |||
43 | #define BTRFS_INODE_COPY_EVERYTHING 8 | 43 | #define BTRFS_INODE_COPY_EVERYTHING 8 |
44 | #define BTRFS_INODE_IN_DELALLOC_LIST 9 | 44 | #define BTRFS_INODE_IN_DELALLOC_LIST 9 |
45 | #define BTRFS_INODE_READDIO_NEED_LOCK 10 | 45 | #define BTRFS_INODE_READDIO_NEED_LOCK 10 |
46 | #define BTRFS_INODE_HAS_PROPS 11 | ||
46 | 47 | ||
47 | /* in memory btrfs inode */ | 48 | /* in memory btrfs inode */ |
48 | struct btrfs_inode { | 49 | struct btrfs_inode { |
@@ -135,6 +136,9 @@ struct btrfs_inode { | |||
135 | */ | 136 | */ |
136 | u64 index_cnt; | 137 | u64 index_cnt; |
137 | 138 | ||
139 | /* Cache the directory index number to speed the dir/file remove */ | ||
140 | u64 dir_index; | ||
141 | |||
138 | /* the fsync log has some corner cases that mean we have to check | 142 | /* the fsync log has some corner cases that mean we have to check |
139 | * directories to see if any unlinks have been done before | 143 | * directories to see if any unlinks have been done before |
140 | * the directory was logged. See tree-log.c for all the | 144 | * the directory was logged. See tree-log.c for all the |