vfs_streams_depot: support real dirfsps in streams_depot_unlinkat()
authorRalph Boehme <slow@samba.org>
Thu, 21 Jan 2021 15:07:25 +0000 (16:07 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 28 Jan 2021 08:11:49 +0000 (08:11 +0000)
Now that our callees support real dirfsps, remove the assert.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_streams_depot.c

index 4cf0bb479547d0584864bd70158626c7b5c46496..bfaab2bf9d4b1e4bb431a5544d05d37c911c40a7 100644 (file)
@@ -873,7 +873,6 @@ static int streams_depot_unlinkat(vfs_handle_struct *handle,
                        int flags)
 {
        int ret;
-       SMB_ASSERT(dirfsp == dirfsp->conn->cwd_fsp);
        if (flags & AT_REMOVEDIR) {
                ret = streams_depot_rmdir_internal(handle,
                                dirfsp,