Revision ff513ace9b772e75e337f8e058cc7f12816843fe authored by Ilya Dryomov on 03 February 2014, 11:56:33 UTC, committed by Sage Weil on 07 February 2014, 18:45:53 UTC
Handling redirect replies requires both map_sem and request_mutex.
Taking map_sem unconditionally near the top of handle_reply() avoids
possible race conditions that arise from releasing request_mutex to be
able to acquire map_sem in redirect reply case.  (Lock ordering is:
map_sem, request_mutex, crush_mutex.)

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
1 parent 0bbfdfe
Raw File
Kconfig
menu "Atmel devices (AVR32 and AT91)"
	depends on AVR32 || ARCH_AT91

config SND_ATMEL_ABDAC
	tristate "Atmel Audio Bitstream DAC (ABDAC) driver"
	select SND_PCM
	depends on DW_DMAC && AVR32
	help
	  ALSA sound driver for the Atmel Audio Bitstream DAC (ABDAC).

config SND_ATMEL_AC97C
	tristate "Atmel AC97 Controller (AC97C) driver"
	select SND_PCM
	select SND_AC97_CODEC
	depends on (DW_DMAC && AVR32) || ARCH_AT91
	help
	  ALSA sound driver for the Atmel AC97 controller.

endmenu
back to top