mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02: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 @@ 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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user