]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bcachefs: Don't pass memcmp() as a pointer
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 15 Jan 2024 19:12:43 +0000 (14:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2024 18:14:30 +0000 (19:14 +0100)
commitf114cfc8083a50f457c94eea43de4e56bab98cb0
treea8bbfb246dfad1245ba282f095c876769af48a03
parentdc610c441b0e072ee01abf8910fda350df5136fa
bcachefs: Don't pass memcmp() as a pointer

commit 0124f42da70c513dc371b73688663c54e5a9666f upstream.

Some (buggy!) compilers have issues with this.

Fixes: https://github.com/koverstreet/bcachefs/issues/625
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/bcachefs/replicas.c