Skip to content
Commit 7a92deaa authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gfs2: Fix atomic bug in gfs2_instantiate



Replace test_bit() + set_bit() with test_and_set_bit() where we need an atomic
operation.  Use clear_and_wake_up_bit() instead of open coding it.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 9642c8c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment