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:
Kent Overstreet 2023-03-30 20:16:06 -04:00
parent 62a03559d6
commit dde72e1827

View File

@ -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)