vfs_default: Return ENOTSUP for sharemodes flock call
authorChristof Schmitt <cs@samba.org>
Tue, 14 Sep 2021 16:49:16 +0000 (09:49 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 14 Sep 2021 23:14:36 +0000 (23:14 +0000)
commite1398c34b2c24b76b30fdde8417b871d53825a36
treedea59a5bb04ba0f71607ab6823a0a5396c33ec95
parent5488a242fbd6d7123a9cb3297c0cf71acbb9d523
vfs_default: Return ENOTSUP for sharemodes flock call

Remove the call to kernel_flock, as this function will be deleted.
Have the function return ENOTSUP to indicate that this is not supported
by default (without a file-system specific VFS module).

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_default.c