Esempio n. 1
0
static void
usb_root_mount_rel(struct usb_bus *bus)
{
	if (bus->bus_roothold != NULL) {
		DPRINTF("Releasing root mount hold %p\n", bus->bus_roothold);
		root_mount_rel(bus->bus_roothold);
		bus->bus_roothold = NULL;
	}
}
Esempio n. 2
0
static void
usb_root_mount_rel(struct usb_bus *bus)
{
	if (bus->bus_roothold != NULL) {
		DPRINTF("Releasing root mount hold %p\n", bus->bus_roothold);
#if 0 /* XXX Dragonflybsd seems to not have this? */
		root_mount_rel(bus->bus_roothold);
#endif
		bus->bus_roothold = NULL;
	}
}
Esempio n. 3
0
static void
usb_root_mount_rel(struct usb_bus *bus)
{
#ifndef __rtems__
	if (bus->bus_roothold != NULL) {
		DPRINTF("Releasing root mount hold %p\n", bus->bus_roothold);
		root_mount_rel(bus->bus_roothold);
		bus->bus_roothold = NULL;
	}
#endif /* __rtems__ */
}