From: Ralph Boehme Date: Wed, 20 Jan 2021 14:15:41 +0000 (+0100) Subject: vfs_posix_eadb: support real dirfsps in posix_eadb_unlinkat() X-Git-Tag: tevent-0.11.0~1935 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=469ff4ad0e6b597d20bf894d9c1014589ec86f79;p=thirdparty%2Fsamba.git vfs_posix_eadb: support real dirfsps in posix_eadb_unlinkat() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_posix_eadb.c b/source3/modules/vfs_posix_eadb.c index 11f2057c7a3..57d0920f8c8 100644 --- a/source3/modules/vfs_posix_eadb.c +++ b/source3/modules/vfs_posix_eadb.c @@ -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,