It is possible now to delete minios_gnttab_close_fd().
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
#include "private.h"
-void minios_gnttab_close_fd(int fd);
-
static int gnttab_close_fd(struct file *file)
{
gntmap_fini(file->dev);
return close(xgt->fd);
}
-void minios_gnttab_close_fd(int fd)
-{
- struct file *file = get_file_from_fd(fd);
-
- gnttab_close_fd(file);
-}
-
void *osdep_gnttab_grant_map(xengnttab_handle *xgt,
uint32_t count, int flags, int prot,
uint32_t *domids, uint32_t *refs,