projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62a0355
)
bcachefs: Add missing bch2_err_class() call
author
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 31 Mar 2023 00:16:06 +0000
(20:16 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:59 +0000
(17:09 -0400)
We're not supposed to return our private error codes to userspace.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/fs.c
b/fs/bcachefs/fs.c
index a57ab773dd27a00d310b4e74f0b1a4c4d437e083..58a89c36cf0ecb9b55af6fdf8cda061bab61b242 100644
(file)
--- 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)