diff options
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r-- | fs/btrfs/btrfs_inode.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index 111f90524ae1..fcc8cf27e906 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h | |||
@@ -33,6 +33,7 @@ struct btrfs_inode { | |||
33 | struct extent_io_tree io_failure_tree; | 33 | struct extent_io_tree io_failure_tree; |
34 | struct mutex csum_mutex; | 34 | struct mutex csum_mutex; |
35 | struct mutex extent_mutex; | 35 | struct mutex extent_mutex; |
36 | struct mutex log_mutex; | ||
36 | struct inode vfs_inode; | 37 | struct inode vfs_inode; |
37 | struct btrfs_ordered_inode_tree ordered_tree; | 38 | struct btrfs_ordered_inode_tree ordered_tree; |
38 | 39 | ||
@@ -44,10 +45,17 @@ struct btrfs_inode { | |||
44 | 45 | ||
45 | struct list_head delalloc_inodes; | 46 | struct list_head delalloc_inodes; |
46 | 47 | ||
48 | /* full 64 bit generation number */ | ||
49 | u64 generation; | ||
50 | |||
47 | /* | 51 | /* |
48 | * transid of the trans_handle that last modified this inode | 52 | * transid of the trans_handle that last modified this inode |
49 | */ | 53 | */ |
50 | u64 last_trans; | 54 | u64 last_trans; |
55 | /* | ||
56 | * transid that last logged this inode | ||
57 | */ | ||
58 | u64 logged_trans; | ||
51 | u64 delalloc_bytes; | 59 | u64 delalloc_bytes; |
52 | u64 disk_i_size; | 60 | u64 disk_i_size; |
53 | u32 flags; | 61 | u32 flags; |