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 beefba1f26bc..883e150f011a 100644
--- a/fs/btrfs/inode-item.h
+++ b/fs/btrfs/inode-item.h
@@ -26,6 +26,9 @@ struct btrfs_truncate_control {
/* OUT: the number of extents truncated. */
u64 extents_found;
+ /* OUT: the last size we truncated this inode to. */
+ u64 last_size;
+
/*
* IN: minimum key type to remove. All key types with this type are
* removed only if their offset >= new_size.