diff options
author | Steve French <stfrench@microsoft.com> | 2024-05-16 01:06:03 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-05-21 18:14:55 +0200 |
commit | 16e00683dc74cf1fcdf00046b90852bee05eb94a (patch) | |
tree | 00a4615eaf51c54eb8e0c9dfa2663e14cf934775 /include | |
parent | Merge tag '6.10-rc-smb-fix' of git://git.samba.org/sfrench/cifs-2.6 (diff) | |
download | linux-16e00683dc74cf1fcdf00046b90852bee05eb94a.tar.xz linux-16e00683dc74cf1fcdf00046b90852bee05eb94a.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netfs.h b/include/linux/netfs.h index ca56a4428043..d2d291a9cdad 100644 --- a/include/linux/netfs.h +++ b/include/linux/netfs.h @@ -400,6 +400,8 @@ ssize_t netfs_perform_write(struct kiocb *iocb, struct iov_iter *iter, ssize_t netfs_buffered_write_iter_locked(struct kiocb *iocb, struct iov_iter *from, struct netfs_group *netfs_group); ssize_t netfs_unbuffered_write_iter(struct kiocb *iocb, struct iov_iter *from); +ssize_t netfs_unbuffered_write_iter_locked(struct kiocb *iocb, struct iov_iter *iter, + struct netfs_group *netfs_group); ssize_t netfs_file_write_iter(struct kiocb *iocb, struct iov_iter *from); /* Address operations API */ |