projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2057230
)
bcachefs: Add missing bch2_trans_iter_exit() call
author
Kent Overstreet
<kent.overstreet@gmail.com>
Tue, 14 Dec 2021 05:08:06 +0000
(
00:08
-0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:18 +0000
(17:09 -0400)
This fixes a bug where the filesystem goes read only when reading from
debugfs.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/debug.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/debug.c
b/fs/bcachefs/debug.c
index
8b25ef9
..
5ea2952
100644
(file)
--- a/
fs/bcachefs/debug.c
+++ b/
fs/bcachefs/debug.c
@@
-406,6
+406,8
@@
static ssize_t bch2_read_bfloat_failed(struct file *file, char __user *buf,
if (!i->size)
break;
}
+ bch2_trans_iter_exit(&trans, &iter);
+
bch2_trans_exit(&trans);
return err < 0 ? err : i->ret;