We may not have an actual cdev at this point.
This commit is contained in:
parent
64716bfbf4
commit
0454a53d65
@ -1052,6 +1052,9 @@ devfs_reclaim(ap)
|
||||
dev = vp->v_rdev;
|
||||
vp->v_rdev = NULL;
|
||||
|
||||
if (dev == NULL)
|
||||
return (0);
|
||||
|
||||
dev_lock();
|
||||
if (de != NULL)
|
||||
LIST_REMOVE(de, de_alias);
|
||||
|
Loading…
x
Reference in New Issue
Block a user