From: Ralph Boehme Date: Thu, 21 Jan 2021 15:07:25 +0000 (+0100) Subject: vfs_streams_depot: support real dirfsps in streams_depot_unlinkat() X-Git-Tag: tevent-0.11.0~1930 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da8d14097b37942e271be54d0a29b5ab9c006296;p=thirdparty%2Fsamba.git vfs_streams_depot: support real dirfsps in streams_depot_unlinkat() Now that our callees support real dirfsps, remove the assert. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_streams_depot.c b/source3/modules/vfs_streams_depot.c index 4cf0bb47954..bfaab2bf9d4 100644 --- a/source3/modules/vfs_streams_depot.c +++ b/source3/modules/vfs_streams_depot.c @@ -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,