linux/drivers/staging/exfat
Davidlohr Bueso 74179976b0 drivers/staging/exfat: Replace more binary semaphores with mutexes
At a slight footprint cost (24 vs 32 bytes), mutexes are more optimal
than semaphores; it's also a nicer interface for mutual exclusion,
which is why they are encouraged over binary semaphores, when possible.
There is also lockdep support.

For both f_sem and b_sem, their semantics imply traditional lock
ownership; that is, the lock owner is the same for both lock/unlock
operations and not under irq contexts (ie for trylock/unlock scenarios).
Therefore it is safe to convert.

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://lore.kernel.org/r/20191101185332.31786-1-dave@stgolabs.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-02 11:41:36 +01:00
..
exfat.h drivers/staging/exfat: Replace binary semaphores for mutexes 2019-11-01 10:50:37 +01:00
exfat_blkdev.c staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00
exfat_cache.c drivers/staging/exfat: Replace more binary semaphores with mutexes 2019-11-02 11:41:36 +01:00
exfat_core.c staging: exfat: replace kmalloc with kmalloc_array 2019-11-01 10:50:37 +01:00
exfat_nls.c staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00
exfat_super.c drivers/staging/exfat: Replace binary semaphores for mutexes 2019-11-01 10:50:37 +01:00
exfat_upcase.c staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00
Kconfig staging: exfat: Fix a typo in Kconfig 2019-10-01 08:16:04 +02:00
Makefile staging: exfat - fix SPDX tags.. 2019-10-01 08:15:57 +02:00
TODO staging: exfat: explain the fs_sync() issue in TODO 2019-10-04 10:17:57 +02:00