Re: [PATCH 4.19 62/81] cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a panic

From: Greg Kroah-Hartman
Date: Thu Oct 17 2019 - 12:01:20 EST


On Thu, Oct 17, 2019 at 10:55:39AM +0200, Pavel Machek wrote:
> Hi!
>
> > From: Dave Wysochanski <dwysocha@xxxxxxxxxx>
> >
> > Commit 487317c99477 ("cifs: add spinlock for the openFileList to
> > cifsInodeInfo") added cifsInodeInfo->open_file_lock spin_lock to protect
>
> > Fixes: 487317c99477 ("cifs: add spinlock for the openFileList to cifsInodeInfo")
> >
> > CC: Stable <stable@xxxxxxxxxxxxxxx>
> > Signed-off-by: Dave Wysochanski <dwysocha@xxxxxxxxxx>
> > Reviewed-by: Ronnie Sahlberg <lsahlber@xxxxxxxxxx>
> > Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx>
>
> This is missing upstream commit ID and a signoff.

Good catch, Sasha forgot to do that :(

I'll go fix that now, thanks.

greg k-h