bcachefs: Fix a memcpy call
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 17 May 2021 20:10:06 +0000 (16:10 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:03 +0000 (17:09 -0400)
commit82355e2882339067e1d6deaec68e629f63259c0d
treeaa6a682244867fb1c648f13ced0cac5bdbdc3b76
parentbbfcb4519d61cdd83d1f9741e4f8525c0ffa8a8a
bcachefs: Fix a memcpy call

Not supposed to pass a null ptr to memcpy (even if the size is 0).

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/fsck.c