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

Stanley Chu
2021-01-12T09:36:59Z

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@codeaurora.org>
>

Looks good to me.

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