btrfs: raid56: remove unused btrfs_plug_cb::work
authorDavid Sterba <dsterba@suse.com>
Tue, 21 Nov 2023 01:50:17 +0000 (02:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 19:27:01 +0000 (20:27 +0100)
The raid56 changes in 6.2 reworked the IO path to RMW, commit
93723095b5d5 ("btrfs: raid56: switch write path to rmw_rbio()") in
particular removed the last use of the work member so it can be removed
as well. 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/raid56.c

index 3e014b9370a3f22f9a6396fdc42841f3ca2d058d..90f12c0e88a1e14e34e81157ed00a8a447ffcd99 100644 (file)
@@ -1549,7 +1549,6 @@ struct btrfs_plug_cb {
        struct blk_plug_cb cb;
        struct btrfs_fs_info *info;
        struct list_head rbio_list;
-       struct work_struct work;
 };
 
 /*