d44ca675b3
Since bd_open() does early increment for reference counter and bcache allocation, it also should undo those in case of the error. Also remove unused variables rdev, g_err. |
||
---|---|---|
.. | ||
amd64_tramp.S | ||
biosacpi.c | ||
bioscd.c | ||
biosdisk.c | ||
biosmem.c | ||
biospci.c | ||
biospnp.c | ||
biossmap.c | ||
bootinfo32.c | ||
bootinfo64.c | ||
bootinfo.c | ||
comconsole.c | ||
devicename.c | ||
elf32_freebsd.c | ||
elf64_freebsd.c | ||
i386_copy.c | ||
i386_module.c | ||
libi386.h | ||
Makefile | ||
Makefile.depend | ||
multiboot_tramp.S | ||
multiboot.c | ||
multiboot.h | ||
nullconsole.c | ||
pread.c | ||
pxe.c | ||
pxe.h | ||
pxetramp.s | ||
relocater_tramp.S | ||
smbios.c | ||
smbios.h | ||
spinconsole.c | ||
time.c | ||
vidconsole.c |