diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-30 20:16:06 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:59 -0400 |
commit | dde72e182758e455891ff61c11746085db8c27c1 (patch) | |
tree | b1452fa602d5a8ec99871b2961cc47d87aaf41e1 /fs/bcachefs | |
parent | 62a03559d667c1b0552a692ac01c576358847318 (diff) | |
download | linux-stable-dde72e182758e455891ff61c11746085db8c27c1.tar.gz linux-stable-dde72e182758e455891ff61c11746085db8c27c1.tar.bz2 linux-stable-dde72e182758e455891ff61c11746085db8c27c1.zip |
bcachefs: Add missing bch2_err_class() call
We're not supposed to return our private error codes to userspace.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs')
-rw-r--r-- | fs/bcachefs/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index a57ab773dd27..58a89c36cf0e 100644 --- a/fs/bcachefs/fs.c +++ b/fs/bcachefs/fs.c @@ -1894,7 +1894,7 @@ out: err_put_super: deactivate_locked_super(sb); - return ERR_PTR(ret); + return ERR_PTR(bch2_err_class(ret)); } static void bch2_kill_sb(struct super_block *sb) |