bcachefs: fix __bch2_xattr_bcachefs_get()
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 13 Jun 2019 15:01:14 +0000 (11:01 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:23 +0000 (17:08 -0400)
commit2a488aaac1d4a7f5b48bce687adf430d24e0beb5
tree817ebb140e5bce3425331d080f3ee9af6a9cb96c
parente0dfc08bc2f509de9fda0371b46988247f711a12
bcachefs: fix __bch2_xattr_bcachefs_get()

We were returning -ERANGE when the size of the buffer passed in was
exactly the size of the xattr val

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