From: Ralph Boehme Date: Thu, 21 Jan 2021 09:42:06 +0000 (+0100) Subject: vfs_fruit: support real dirfsps in fruit_unlinkat() X-Git-Tag: tevent-0.11.0~1914 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de85bccef2f70aa20a0e6781c8f7a8a3ff0be2ca;p=thirdparty%2Fsamba.git vfs_fruit: support real dirfsps in fruit_unlinkat() Now that all callees are updated, we can remove the assert. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index 405af5c1efb..6e8a785d91f 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -2155,8 +2155,6 @@ static int fruit_unlinkat(vfs_handle_struct *handle, struct smb_filename *rsrc_smb_fname = NULL; int ret; - SMB_ASSERT(dirfsp == dirfsp->conn->cwd_fsp); - if (flags & AT_REMOVEDIR) { return SMB_VFS_NEXT_UNLINKAT(handle, dirfsp,