diff options
author | Jan Höppner <hoeppner@linux.ibm.com> | 2023-09-15 15:10:01 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-10-04 08:04:08 -0600 |
commit | a31281acc4a4e051a0bf2f1d3556ba4deea4d2a0 (patch) | |
tree | 5364f84fc21ffeada0c7b86f7d38b26252ba2c87 /block/blk-mq.c | |
parent | f5f43aae6f336ae436759144a31879375e65ed28 (diff) |
partitions/ibm: Introduce defines for magic string length values
The length values for volume label type and volume label id are
hard-coded in several places. Provide defines for those values and
replace all occurrences accordingly.
Note that the length is defined and used, and not the size since the
volume label type string and volume label id string are not
nul-terminated.
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20230915131001.697070-4-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions