Now that it is inside the vfs layer, this function should
not alter the fsp (i.e. set fsp->fh->fd = -1) anymore.
That belongs above the vfs layer.
Michael
(This used to be commit
df264bf3e00d7d77afcf55e54d2669b9ffa9af4a)
* just close.
*/
ret = close(fsp->fh->fd);
- fsp->fh->fd = -1;
if (ret == -1) {
return map_nt_error_from_unix(errno);
}
*/
add_fd_to_close_entry(fsp);
- fsp->fh->fd = -1;
return NT_STATUS_OK;
}
ret = -1;
}
- fsp->fh->fd = -1;
-
if (ret == -1) {
return map_nt_error_from_unix(errno);
}