diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-11-28 21:42:05 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:17 +0300 |
commit | fc6c01e2ea5292a740ddedb5b2b3805e8ecb3f4b (patch) | |
tree | bc9b86af3d7198eb57f96b65e645d537601c65b2 /fs/bcachefs/reflink.c | |
parent | dcfc593f7b3a35e340f0cefa3281a3285ddb48e8 (diff) | |
download | linux-fc6c01e2ea5292a740ddedb5b2b3805e8ecb3f4b.tar.xz |
bcachefs: Convert bucket_alloc_ret to negative error codes
Start a new header, errcode.h, for bcachefs-private error codes - more
error codes will be converted later.
This patch just converts bucket_alloc_ret so that they can be mixed with
standard error codes and passed as ERR_PTR errors - the ec.c code was
doing this already, but incorrectly.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/reflink.c')
0 files changed, 0 insertions, 0 deletions