diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-08-27 19:37:05 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:39 +0300 |
commit | d97e6aaed60a9c2c727cce2979ca311fe232163f (patch) | |
tree | c408db16556e241c681e8f816c14e397903961b2 /fs/bcachefs/sysfs.c | |
parent | 8a9c1b1cb0edacdf4ac9c378c4ec4fc376fc8bac (diff) | |
download | linux-d97e6aaed60a9c2c727cce2979ca311fe232163f.tar.xz |
bcachefs: Fix bch2_btree_update_start() to return -BCH_ERR_journal_reclaim_would_deadlock
On failure to get a journal pre-reservation because we're called from
journal reclaim we're not supposed to return a transaction restart error
- this fixes a livelock.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/sysfs.c')
0 files changed, 0 insertions, 0 deletions