Re: [PATCH 0/2] esas2r: Replace semaphores with mutexes

From: Arnd Bergmann
Date: Thu Jun 08 2017 - 11:05:55 EST


On Thu, Jun 8, 2017 at 12:07 PM, Binoy Jayan <binoy.jayan@xxxxxxxxxx> wrote:
> These are a set of patches which removes semaphores from esas2r.
> These are part of a bigger effort to eliminate unwanted semaphores
> from the linux kernel.
>
> Binoy Jayan (2):
> scsi: esas2r: Replace semaphore fm_api_semaphore with mutex
> scsi: esas2r: Replace semaphore fs_api_semaphore with mutex

Both conversions looks good. I think the interruption is not handled
correctly here, but your patch doesn't change that.

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>