]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_btrfs: Also call vfs_offload_token_ctx_init() in btrfs_offload_write_send()
authorAndreas Schneider <asn@samba.org>
Thu, 28 Nov 2024 12:09:00 +0000 (13:09 +0100)
committerJule Anger <janger@samba.org>
Tue, 3 Dec 2024 18:04:26 +0000 (18:04 +0000)
commit0f4e46398bdf16c6f73982fbb4ed0ddca8d25f94
treecaf0c7e0d7c06b213165e7703d5c23b0de8fba58
parent9a7047e8cca28605c87536f5085b699d79842432
vfs_btrfs: Also call vfs_offload_token_ctx_init() in btrfs_offload_write_send()

If a client for whatever reason calls FSCTL_SRV_COPYCHUNK[_WRITE] without
FSCTL_SRV_REQUEST_RESUME_KEY, we call btrfs_offload_write_send
before btrfs_offload_read_send.

This is similar to 462b74da79c51f9ba6dbd24e603aa904485d5123

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15758

Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User(v4-21-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-21-test): Tue Dec  3 18:04:26 UTC 2024 on atb-devel-224
source3/modules/vfs_btrfs.c