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/pccbb | |
parent | 27b31641fb3dd0b0e8c1c4b5da3ca0404277345c (diff) | |
download | src-626fc9fe3d995ec8666e92a1d01810f896e34ec1.tar.gz src-626fc9fe3d995ec8666e92a1d01810f896e34ec1.zip |
Add a how argument to root_mount_hold() so it can be passed NOWAIT and be called
in situations where sleeping isnt allowed.
Notes
Notes:
svn path=/head/; revision=190676
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r-- | sys/dev/pccbb/pccbb_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccbb/pccbb_pci.c b/sys/dev/pccbb/pccbb_pci.c index c89e5ad1f451..4fcd7eafb5e4 100644 --- a/sys/dev/pccbb/pccbb_pci.c +++ b/sys/dev/pccbb/pccbb_pci.c @@ -439,7 +439,7 @@ cbb_pci_attach(device_t brdev) device_printf(brdev, "unable to create event thread.\n"); panic("cbb_create_event_thread"); } - sc->sc_root_token = root_mount_hold(device_get_nameunit(sc->dev)); + sc->sc_root_token = root_mount_hold(device_get_nameunit(sc->dev), M_WAITOK); return (0); err: if (sc->irq_res) |