Skip to content
Commit f9ee31dc authored by Steve French's avatar Steve French Committed by Greg Kroah-Hartman
Browse files

cifs: fix flushing folio regression for 6.1 backport

filemap_get_folio works differenty in 6.1 vs. later kernels
(returning NULL in 6.1 instead of an error).  Add
this minor correction which addresses the regression in the patch:
  cifs: Fix flushing, invalidation and file size with copy_file_range()

Link: https://lore.kernel.org/all/a76b370f93cb928c049b94e1fde0d2da506dfcb2.camel@amazon.com/


Reported-by: default avatar"Jitindar Singh, Suraj" <surajjs@amazon.com>
Suggested-by: default avatarDavid Howells <dhowells@redhat.com>
Reported-by: default avatarSalvatore Bonaccorso <carnil@debian.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Tested-by: default avatarSalvatore Bonaccorso <carnil@debian.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f22c8a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment