]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_fruit: support real dirfsps in fruit_unlinkat()
authorRalph Boehme <slow@samba.org>
Thu, 21 Jan 2021 09:42:06 +0000 (10:42 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 28 Jan 2021 08:11:49 +0000 (08:11 +0000)
Now that all callees are updated, we can remove the assert.

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

index 405af5c1efb9ea05e52a10b8272fb41f59cabd16..6e8a785d91fdc5e7b76fba81821df159d6ec1e51 100644 (file)
@@ -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,