Commit 6270b8ac authored by Damien Le Moal's avatar Damien Le Moal Committed by Carlos Maiolino
Browse files

xfs: remove scratch field from struct xfs_gc_bio



The scratch field in struct xfs_gc_bio is unused. Remove it.

Fixes: 102f444b ("xfs: rework zone GC buffer management")
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
Reviewed-by: default avatarCarlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
parent 650b774c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -96,7 +96,6 @@ struct xfs_gc_bio {
	 */
	xfs_fsblock_t			old_startblock;
	xfs_daddr_t			new_daddr;
	struct xfs_zone_scratch		*scratch;

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