kernel - Fix posix_fallocate()
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 9 Dec 2021 18:18:03 +0000 (10:18 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 9 Dec 2021 18:18:03 +0000 (10:18 -0800)
commitb256c8e35e8710a5a4544d000b29b46518765bc8
treee82115e39f51dfeb4fc6f57541bd190de661790c
parentef54aa85c7e6e12691768bb3e817cbe49580662b
kernel - Fix posix_fallocate()

* Our newly minted posix_fallocate() system call was ignoring the
  offset field.

* Should fix samba, however any tdb databases that were created are
  probably corrupt so you may need to rm -rf /var/db/samba4, restart
  samba, and re-create your smb passwords.

Reported-by: Tim Darby
sys/kern/vfs_default.c
sys/kern/vfs_vopops.c