smb3: reenable swapfiles over SMB3 mounts
authorSteve French <stfrench@microsoft.com>
Wed, 15 May 2024 23:06:03 +0000 (18:06 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 21 May 2024 16:14:55 +0000 (11:14 -0500)
commit16e00683dc74cf1fcdf00046b90852bee05eb94a
tree00a4615eaf51c54eb8e0c9dfa2663e14cf934775
parent0450d2083be6bdcd18c9535ac50c55266499b2df
smb3: reenable swapfiles over SMB3 mounts

With the changes to folios/netfs it is now easier to reenable
swapfile support over SMB3 which fixes various xfstests

Reviewed-by: David Howells <dhowells@redhat.com>
Suggested-by: David Howells <dhowells@redhat.com>
Fixes: e1209d3a7a67 ("mm: introduce ->swap_rw and use it for reads from SWP_FS_OPS swap-space")
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/netfs/direct_write.c
fs/smb/client/file.c
include/linux/netfs.h