mbox series

[0/2] esas2r: Replace semaphores with mutexes

Message ID 1496916451-6606-1-git-send-email-binoy.jayan@linaro.org
Headers show
Series esas2r: Replace semaphores with mutexes | expand

Message

Binoy Jayan June 8, 2017, 10:07 a.m. UTC
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

 drivers/scsi/esas2r/esas2r.h       |  4 ++--
 drivers/scsi/esas2r/esas2r_init.c  |  4 ++--
 drivers/scsi/esas2r/esas2r_ioctl.c | 10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

-- 
Binoy Jayan

Comments

Arnd Bergmann June 8, 2017, 3:05 p.m. UTC | #1
On Thu, Jun 8, 2017 at 12:07 PM, Binoy Jayan <binoy.jayan@linaro.org> 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@arndb.de>
Martin K. Petersen June 13, 2017, 1:18 a.m. UTC | #2
Binoy,

> 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.


Applied to 4.13/scsi-queue.

-- 
Martin K. Petersen	Oracle Linux Engineering