bcachefs: copy_(to|from)_user_errcode()
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 2 Mar 2024 20:30:33 +0000 (15:30 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:26 +0000 (21:22 -0400)
commitd64547999c591c47bfac279fa4027bdbd29c7ea0
tree7365075ce7f4a064fdf56495e5392558acf92562
parentba81523eaac3df20ea884603bd67a74089900814
bcachefs: copy_(to|from)_user_errcode()

we've got some helpers that return errors sanely, move them to a more
common location for use in fs-ioctl.c

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/chardev.c
fs/bcachefs/util.h