diff mbox series

[2/5] btrfs: remove unused btrfs_ordered_extent::outstanding_isize

Message ID 2610708f3b1112c91e6315db85cb200fdd72d9dd.1700531088.git.dsterba@suse.com (mailing list archive)
State New, archived
Headers show
Series Remove some unused struct members | expand

Commit Message

David Sterba Nov. 21, 2023, 1:50 a.m. UTC
The whole isize code was deleted in 5.6 3f1c64ce0438 ("btrfs: delete the
ordered isize update code"), except the struct member.  This was found
by tool https://github.com/jirislaby/clang-struct .

Signed-off-by: David Sterba <dsterba@suse.com>
---
 fs/btrfs/ordered-data.h | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

diff --git a/fs/btrfs/ordered-data.h b/fs/btrfs/ordered-data.h
index 567a6d3d4712..127ef8bf0ffd 100644
--- a/fs/btrfs/ordered-data.h
+++ b/fs/btrfs/ordered-data.h
@@ -96,13 +96,6 @@  struct btrfs_ordered_extent {
 	/* number of bytes that still need writing */
 	u64 bytes_left;
 
-	/*
-	 * the end of the ordered extent which is behind it but
-	 * didn't update disk_i_size. Please see the comment of
-	 * btrfs_ordered_update_i_size();
-	 */
-	u64 outstanding_isize;
-
 	/*
 	 * If we get truncated we need to adjust the file extent we enter for
 	 * this ordered extent so that we do not expose stale data.