]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up queue-4.19/cifs-use-cifsinodeinfo-open_file_lock-while-iteratin.patch text
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2019 16:01:35 +0000 (09:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2019 16:01:35 +0000 (09:01 -0700)
queue-4.19/cifs-use-cifsinodeinfo-open_file_lock-while-iteratin.patch

index 710bd35094f8c078159fff39c5d18e1dbd3b1d17..7aa8aaf295d09b73c2648c3502e82a84766d248d 100644 (file)
@@ -6,6 +6,8 @@ Subject: cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a
 
 From: Dave Wysochanski <dwysocha@redhat.com>
 
+commit cb248819d209d113e45fed459773991518e8e80b upstream.
+
 Commit 487317c99477 ("cifs: add spinlock for the openFileList to
 cifsInodeInfo") added cifsInodeInfo->open_file_lock spin_lock to protect
 the openFileList, but missed a few places where cifs_inode->openFileList
@@ -43,11 +45,11 @@ cifsInodeInfo->open_file_lock to avoid panic in is_size_safe_to_change.
 [17313.245999]  do_syscall_64+0x5b/0x1b0
 
 Fixes: 487317c99477 ("cifs: add spinlock for the openFileList to cifsInodeInfo")
-
 CC: Stable <stable@vger.kernel.org>
 Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
 Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
 Signed-off-by: Steve French <stfrench@microsoft.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 ---
  fs/cifs/file.c |   27 +++++++++++----------------
  1 file changed, 11 insertions(+), 16 deletions(-)