From 1ca43aaea1a80c9389785de0f3f1f5a5d1d95dde Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 17 Oct 2019 09:01:35 -0700 Subject: [PATCH] fix up queue-4.19/cifs-use-cifsinodeinfo-open_file_lock-while-iteratin.patch text --- ...cifs-use-cifsinodeinfo-open_file_lock-while-iteratin.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/queue-4.19/cifs-use-cifsinodeinfo-open_file_lock-while-iteratin.patch b/queue-4.19/cifs-use-cifsinodeinfo-open_file_lock-while-iteratin.patch index 710bd35094f..7aa8aaf295d 100644 --- a/queue-4.19/cifs-use-cifsinodeinfo-open_file_lock-while-iteratin.patch +++ b/queue-4.19/cifs-use-cifsinodeinfo-open_file_lock-while-iteratin.patch @@ -6,6 +6,8 @@ Subject: cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a From: Dave Wysochanski +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 Signed-off-by: Dave Wysochanski Reviewed-by: Ronnie Sahlberg Signed-off-by: Steve French +Signed-off-by: Greg Kroah-Hartman --- fs/cifs/file.c | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) -- 2.47.2