]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs: implement POSIX append-IO in vfs_pwrite_data()
authorRalph Boehme <slow@samba.org>
Sun, 24 Nov 2024 07:23:36 +0000 (08:23 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 7 Jan 2025 22:04:33 +0000 (22:04 +0000)
commit9c41e36af7e136db4eb85c29c555192965b3c371
tree796e80be661fc3d17a0c9bdfa95b0ca5b2e3ab4a
parent442bbee9bc106f75c066cca7cdc7ef4ebd55921a
vfs: implement POSIX append-IO in vfs_pwrite_data()

This basically just avoids clobbering a possible offset=VFS_PWRITE_APPEND_OFFSET
when calling SMB_VFS_PWRITE().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/vfs.c