bcachefs: Kill bch_scnmemcpy()
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 20 Feb 2022 09:52:44 +0000 (04:52 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:24 +0000 (17:09 -0400)
commitd4b691522c4b60220087a01c276f3fa9781405b0
tree9d0f71f559183ce1f2f3c025d365152020b5856d
parent3117db99f30b26ebf09ecc323cbefcd51d83467b
bcachefs: Kill bch_scnmemcpy()

bch_scnmemcpy was for printing length-limited strings that might not
have a terminating null - turns out sprintf & pr_buf can do this with
%.*s.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/dirent.c
fs/bcachefs/disk_groups.c
fs/bcachefs/journal_io.c
fs/bcachefs/util.c
fs/bcachefs/util.h
fs/bcachefs/xattr.c