summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/raid56.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2023-11-21 02:50:17 +0100
committerDavid Sterba <dsterba@suse.com>2023-12-15 20:27:01 +0100
commita0df0a2680353fbfd7a14aaab4624f22d539b876 (patch)
tree1c02a60335908f1cdcd2e55bc08c5b094d2846cf /fs/btrfs/raid56.c
parent3d72941664460153362f81ed66089d65538c3d39 (diff)
downloadlinux-stable-a0df0a2680353fbfd7a14aaab4624f22d539b876.tar.gz
linux-stable-a0df0a2680353fbfd7a14aaab4624f22d539b876.tar.bz2
linux-stable-a0df0a2680353fbfd7a14aaab4624f22d539b876.zip
btrfs: raid56: remove unused btrfs_plug_cb::work
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>
Diffstat (limited to 'fs/btrfs/raid56.c')
-rw-r--r--fs/btrfs/raid56.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/raid56.c b/fs/btrfs/raid56.c
index 3e014b9370a3..90f12c0e88a1 100644
--- a/fs/btrfs/raid56.c
+++ b/fs/btrfs/raid56.c
@@ -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;
};
/*