mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
vfs_fruit: support real dirfsps in fruit_unlinkat()
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>
This commit is contained in:
parent
951fefeca8
commit
de85bccef2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user