summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/inode-item.h')
-rw-r--r--fs/btrfs/inode-item.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/inode-item.h b/fs/btrfs/inode-item.h
index 883e150f011a..7b5b455262cb 100644
--- a/fs/btrfs/inode-item.h
+++ b/fs/btrfs/inode-item.h
@@ -29,6 +29,9 @@ struct btrfs_truncate_control {
/* OUT: the last size we truncated this inode to. */
u64 last_size;
+ /* OUT: the number of bytes to sub from this inode. */
+ u64 sub_bytes;
+
/*
* IN: minimum key type to remove. All key types with this type are
* removed only if their offset >= new_size.