Skip to content

Commit 6270b8a

Browse files
damien-lemoalcmaiolino
authored andcommitted
xfs: remove scratch field from struct xfs_gc_bio
The scratch field in struct xfs_gc_bio is unused. Remove it. Fixes: 102f444 ("xfs: rework zone GC buffer management") Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
1 parent 650b774 commit 6270b8a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

fs/xfs/xfs_zone_gc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ struct xfs_gc_bio {
9696
*/
9797
xfs_fsblock_t old_startblock;
9898
xfs_daddr_t new_daddr;
99-
struct xfs_zone_scratch *scratch;
10099

101100
/* Are we writing to a sequential write required zone? */
102101
bool is_seq;
@@ -779,7 +778,6 @@ xfs_zone_gc_split_write(
779778
ihold(VFS_I(chunk->ip));
780779
split_chunk->ip = chunk->ip;
781780
split_chunk->is_seq = chunk->is_seq;
782-
split_chunk->scratch = chunk->scratch;
783781
split_chunk->offset = chunk->offset;
784782
split_chunk->len = split_len;
785783
split_chunk->old_startblock = chunk->old_startblock;

0 commit comments

Comments
 (0)