summaryrefslogtreecommitdiff
path: root/fs/bcachefs/replicas.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-04-04 02:41:09 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:59 +0300
commit9c2e624290f24c69c835bc82b1abe349810e338f (patch)
tree8fd8e882d2c314e00cc0c4f357f626e85418ee2c /fs/bcachefs/replicas.c
parent2940295c97f49ffe0b2f564dea394094581073e7 (diff)
downloadlinux-9c2e624290f24c69c835bc82b1abe349810e338f.tar.xz
bcachefs: Fix livelock calling bch2_mark_bkey_replicas()
The bug was that we were trying to find a replicas entry that wasn't sorted - but, we can also simplify the code by not using bch2_mark_bkey_replicas and instead ensuring the list of replicas entries exists directly. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/replicas.c')
0 files changed, 0 insertions, 0 deletions