mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 02:46:06 +00:00
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>
This commit is contained in:
parent
62a03559d6
commit
dde72e1827
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user