summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorJan Höppner <hoeppner@linux.ibm.com>2025-10-16 09:47:16 +0200
committerHeiko Carstens <hca@linux.ibm.com>2025-10-21 10:25:55 +0200
commita5e2ca22c18bcda97c7fc99d216ffd742405fb2f (patch)
tree0431c7f5787c403f025afd93f147d888cc208b93 /tools/docs/parse-headers.py
parente039400f75f1a88675132abc57a18d090cf75209 (diff)
s390/tape: Move idal allocation to core functions
Currently tapechar_check_idalbuffer() is part of tape_char.c and is used to ensure the idal buffer is big enough for the requested I/O and reallocates a new one if required. The same is done in tape_std.c when a fixed block size is set using the mtsetblk command. This is essentially duplicate code. The allocation of the buffer that is required for I/O can be considered core functionality. Move the idal buffer allocation to tape_core.c, make it generally available, and reduce code duplication. Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com> Reviewed-by: Jens Remus <jremus@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions