With other modules in the chain funny things can happen
I don't have a concrete bug that I could write a test for, but with
the upcoming patches this becomes necessary.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
struct files_struct *dirfsp,
const struct smb_filename *smb_fname)
{
- struct connection_struct *conn = handle->conn;
struct smb_filename sname = {};
struct smb_filename *base_name = NULL;
struct smb_filename *stream_dir = NULL;
goto done;
}
- ret = SMB_VFS_UNLINKAT(conn, stream_dir->fsp, &sname, 0);
+ ret = SMB_VFS_NEXT_UNLINKAT(handle, stream_dir->fsp, &sname, 0);
done:
{
int err = errno;