]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_default: support real dirfsps in vfswrap_unlinkat()
authorRalph Boehme <slow@samba.org>
Wed, 20 Jan 2021 14:01:00 +0000 (15:01 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 28 Jan 2021 08:11:49 +0000 (08:11 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_default.c

index 8d592bbad64cfac4a1c7dbed4045d9eb526fc4cb..84464bc3b04001dd0d918249aca872f644700f0e 100644 (file)
@@ -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;