Commit dde72e18 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Add missing bch2_err_class() call

We're not supposed to return our private error codes to userspace.
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 62a03559
......@@ -1894,7 +1894,7 @@ static struct dentry *bch2_mount(struct file_system_type *fs_type,
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment