From: Ralph Boehme Date: Wed, 20 Jan 2021 14:01:00 +0000 (+0100) Subject: vfs_default: support real dirfsps in vfswrap_unlinkat() X-Git-Tag: tevent-0.11.0~1942 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a51ed753edf868a967c7bfad1bd9f44bbf98fb0;p=thirdparty%2Fsamba.git vfs_default: support real dirfsps in vfswrap_unlinkat() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 8d592bbad64..84464bc3b04 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -2404,8 +2404,6 @@ static int vfswrap_unlinkat(vfs_handle_struct *handle, START_PROFILE(syscall_unlinkat); - SMB_ASSERT(dirfsp == dirfsp->conn->cwd_fsp); - if (is_named_stream(smb_fname)) { errno = ENOENT; goto out;