Re: [PATCH 2/2] scsi: ufs: Protect PM ops and err_handler from user access through sysfs

From: Stanley Chu
Date: Tue Jan 12 2021 - 04:36:59 EST


On Sat, 2021-01-02 at 05:59 -0800, Can Guo wrote:
> User layer may access sysfs nodes when system PM ops or error handling
> is running, which can cause various problems. Rename eh_sem to host_sem
> and use it to protect PM ops and error handling from user layer intervene.
>
> Signed-off-by: Can Guo <cang@xxxxxxxxxxxxxx>
>

Looks good to me.

Feel free to add
Reviewed-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>