bcachefs: Handle -EINTR bch2_migrate_index_update()
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 24 Apr 2020 18:08:56 +0000 (14:08 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:39 +0000 (17:08 -0400)
commit2c480a7102f20c22315b45fcc79d63078e51b13d
tree754a9e520d0cf8f2ff57c3aa86c55d745c8392a4
parent41697f382cffc0e396dd832d19c78e69cdd10aa3
bcachefs: Handle -EINTR bch2_migrate_index_update()

peek_slot() shouldn't return -EINTR when there's only a single live
iterator, but that's tricky to guarantee - we seem to be returning
-EINTR when we shouldn't, but it's easy enough to handle in the caller.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/move.c