]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_posix_eadb: support real dirfsps in posix_eadb_unlinkat()
authorRalph Boehme <slow@samba.org>
Wed, 20 Jan 2021 14:15:41 +0000 (15:15 +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_posix_eadb.c

index 11f2057c7a34eaaf22e7f6dc76ff858dedfcf8ff..57d0920f8c85d078451cf36ac7f8fa0eb066bcc3 100644 (file)
@@ -426,7 +426,6 @@ static int posix_eadb_unlinkat(vfs_handle_struct *handle,
 {
        int ret;
 
-       SMB_ASSERT(dirfsp == dirfsp->conn->cwd_fsp);
        if (flags & AT_REMOVEDIR) {
                ret = posix_eadb_rmdir_internal(handle,
                                        dirfsp,