diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-04-03 19:46:12 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-04-03 19:46:12 +0000 |
| commit | 626fc9fe3d995ec8666e92a1d01810f896e34ec1 (patch) | |
| tree | 55afba560e3d37dfdc20bbbb68db00bf16a00f1d /sys/dev/usb/controller/usb_controller.c | |
| parent | 27b31641fb3dd0b0e8c1c4b5da3ca0404277345c (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/controller/usb_controller.c')
| -rw-r--r-- | sys/dev/usb/controller/usb_controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/usb_controller.c b/sys/dev/usb/controller/usb_controller.c index fc31f15edafa..bea3e7770eec 100644 --- a/sys/dev/usb/controller/usb_controller.c +++ b/sys/dev/usb/controller/usb_controller.c @@ -115,7 +115,7 @@ usb2_attach(device_t dev) } /* delay vfs_mountroot until the bus is explored */ - bus->bus_roothold = root_mount_hold(device_get_nameunit(dev)); + bus->bus_roothold = root_mount_hold(device_get_nameunit(dev), M_WAITOK); if (usb2_post_init_called) { mtx_lock(&Giant); |
