Skip to content
Commit 8dd3804b authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Add missing READ_ONCE() for metadata replicas



If we race with the user changing the metadata_replicas setting, this
could cause us to get an incorrectly sized disk reservation.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 72b52590
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment