]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: Replace snprintf with strscpy in check_partition
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 27 Jan 2026 22:47:01 +0000 (23:47 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 28 Jan 2026 12:28:13 +0000 (05:28 -0700)
commitf46ebb910989a1db244f95bd1f937907591aa2ee
tree10e9bf6fa8dfd3b39cfa84e011bd772a678b253c
parent7c746eb71fc3737340c32f44c31b111f74f5632c
block: Replace snprintf with strscpy in check_partition

Replace snprintf("%s", ...) with the faster and more direct strscpy().

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/core.c