Page MenuHomeFreeBSD

D32239.diff
No OneTemporary

D32239.diff

diff --git a/stand/efi/libefi/efipart.c b/stand/efi/libefi/efipart.c
--- a/stand/efi/libefi/efipart.c
+++ b/stand/efi/libefi/efipart.c
@@ -949,8 +949,10 @@
pd->pd_open--;
if (pd->pd_open == 0) {
pd->pd_blkio = NULL;
- bcache_free(pd->pd_bcache);
- pd->pd_bcache = NULL;
+ if (dev->dd.d_dev->dv_type != DEVT_DISK) {
+ bcache_free(pd->pd_bcache);
+ pd->pd_bcache = NULL;
+ }
}
if (dev->dd.d_dev->dv_type == DEVT_DISK)
return (disk_close(dev));

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 25, 5:42 AM (20 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16126705
Default Alt Text
D32239.diff (465 B)

Event Timeline