]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
btrfs: remove unused btrfs_ordered_extent::outstanding_isize
authorDavid Sterba <dsterba@suse.com>
Tue, 21 Nov 2023 01:50:15 +0000 (02:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 19:27:01 +0000 (20:27 +0100)
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 .

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ordered-data.h

index 567a6d3d47121a1ad1e47c21d1981a93902cd4f5..127ef8bf0ffd78a416d1b9074b1d6e22a785a477 100644 (file)
@@ -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.