mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
The call to disk_resize causes a panic if DIAGNOSTIC is set.
Coping with that while the finest minds of our generation figure out why.
This commit is contained in:
parent
0b59717b4b
commit
3d4e15d43e
1 changed files with 3 additions and 0 deletions
|
|
@ -2645,7 +2645,10 @@ dasetgeom(struct cam_periph *periph, uint32_t block_len, uint64_t maxsector,
|
|||
else
|
||||
softc->disk->d_flags &= ~DISKFLAG_CANDELETE;
|
||||
|
||||
/* Currently as of 6/13/2012, panics if DIAGNOSTIC is set */
|
||||
#ifndef DIAGNOSTIC
|
||||
disk_resize(softc->disk);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue