diff options
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index b30d018fa359..f79d532fedb0 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -95,6 +95,8 @@ struct btrfs_device { | |||
95 | */ | 95 | */ |
96 | u64 commit_total_bytes; | 96 | u64 commit_total_bytes; |
97 | 97 | ||
98 | /* bytes used on the current transaction */ | ||
99 | u64 commit_bytes_used; | ||
98 | /* | 100 | /* |
99 | * used to manage the device which is resized | 101 | * used to manage the device which is resized |
100 | * | 102 | * |
@@ -420,4 +422,6 @@ static inline void btrfs_dev_stat_reset(struct btrfs_device *dev, | |||
420 | } | 422 | } |
421 | 423 | ||
422 | void btrfs_update_commit_device_size(struct btrfs_fs_info *fs_info); | 424 | void btrfs_update_commit_device_size(struct btrfs_fs_info *fs_info); |
425 | void btrfs_update_commit_device_bytes_used(struct btrfs_root *root, | ||
426 | struct btrfs_transaction *transaction); | ||
423 | #endif | 427 | #endif |