[PATCH] SMP-safe lock_super()

2001-05-15 Thread Alexander Viro
Patch turns s_lock+s_wait combination into semaphore. wait_on_super() is dead. lock_super() is down(>s_lock), unlock_super() is up(...). One place is still ugly - get_super(), but that'll have to wait until we add reference counters on superblocks. For the time being get_super()

[PATCH] SMP-safe lock_super()

2001-05-15 Thread Alexander Viro
Patch turns s_lock+s_wait combination into semaphore. wait_on_super() is dead. lock_super() is down(sb-s_lock), unlock_super() is up(...). One place is still ugly - get_super(), but that'll have to wait until we add reference counters on superblocks. For the time being