diff options
| author | Jan Höppner <hoeppner@linux.ibm.com> | 2025-10-16 09:47:16 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2025-10-21 10:25:55 +0200 |
| commit | a5e2ca22c18bcda97c7fc99d216ffd742405fb2f (patch) | |
| tree | 0431c7f5787c403f025afd93f147d888cc208b93 /tools/lib/python/kdoc/kdoc_output.py | |
| parent | e039400f75f1a88675132abc57a18d090cf75209 (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/lib/python/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
