koverstreet / bcachefs

Other
675 stars 69 forks source link

bcachefs: six locks: Use atomic_andnot() in six_clear_bitmask() #687

Closed ubizjak closed 2 months ago

ubizjak commented 3 months ago

Use atomic_andnot(i, v) instead of atomic_and(~i, v).

No functional changes intended.

Cc: Kent Overstreet kent.overstreet@linux.dev