diff options
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r-- | fs/btrfs/btrfs_inode.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index 72677ce2b74..3af4cfb5654 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h | |||
@@ -86,12 +86,6 @@ struct btrfs_inode { | |||
86 | */ | 86 | */ |
87 | u64 logged_trans; | 87 | u64 logged_trans; |
88 | 88 | ||
89 | /* | ||
90 | * trans that last made a change that should be fully fsync'd. This | ||
91 | * gets reset to zero each time the inode is logged | ||
92 | */ | ||
93 | u64 log_dirty_trans; | ||
94 | |||
95 | /* total number of bytes pending delalloc, used by stat to calc the | 89 | /* total number of bytes pending delalloc, used by stat to calc the |
96 | * real block usage of the file | 90 | * real block usage of the file |
97 | */ | 91 | */ |
@@ -121,6 +115,13 @@ struct btrfs_inode { | |||
121 | /* the start of block group preferred for allocations. */ | 115 | /* the start of block group preferred for allocations. */ |
122 | u64 block_group; | 116 | u64 block_group; |
123 | 117 | ||
118 | /* the fsync log has some corner cases that mean we have to check | ||
119 | * directories to see if any unlinks have been done before | ||
120 | * the directory was logged. See tree-log.c for all the | ||
121 | * details | ||
122 | */ | ||
123 | u64 last_unlink_trans; | ||
124 | |||
124 | struct inode vfs_inode; | 125 | struct inode vfs_inode; |
125 | }; | 126 | }; |
126 | 127 | ||