diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-12-11 20:37:11 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:49 -0400 |
commit | 858536c7cea8bb86511501768ef797d103642498 (patch) | |
tree | b19f4933c893bb2208478f55b7c169d2cb6c8ff8 /fs/bcachefs/alloc_foreground.c | |
parent | e9a1da97377f89f09e6b0b484554fe7a0e2dbe3e (diff) | |
download | linux-stable-858536c7cea8bb86511501768ef797d103642498.tar.gz linux-stable-858536c7cea8bb86511501768ef797d103642498.tar.bz2 linux-stable-858536c7cea8bb86511501768ef797d103642498.zip |
bcachefs: Convert EROFS errors to private error codes
More error code improvements - this gets us more useful error messages.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_foreground.c')
-rw-r--r-- | fs/bcachefs/alloc_foreground.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/bcachefs/alloc_foreground.c b/fs/bcachefs/alloc_foreground.c index dd47eeb1efc5..c4aee0022fab 100644 --- a/fs/bcachefs/alloc_foreground.c +++ b/fs/bcachefs/alloc_foreground.c @@ -1222,9 +1222,6 @@ err: ? -EAGAIN : -BCH_ERR_ENOSPC_bucket_alloc; - if (bch2_err_matches(ret, BCH_ERR_insufficient_devices)) - return -EROFS; - return ret; } |