bcachefs: Pass device to bch2_bucket_do_index()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 30 Apr 2024 19:41:48 +0000 (15:41 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:22 +0000 (17:29 -0400)
commit267039d0fc78d6f9689b7314ba4b9efce95b37f5
treec53bf4d0512fde5f2bb69cb59e855e65facc8726
parentf5faf43f853abb40255059d2b5133699c8528eaa
bcachefs: Pass device to bch2_bucket_do_index()

Eliminating bch2_dev_bkey_exists() uses and replacing them with proper
checks; this one was unnecessary since the caller already has it.

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