CVSROOT:        /cvs
Module name:    src
Changes by:     an...@cvs.openbsd.org   2021/12/20 23:11:16

Modified files:
        sys/dev        : vnd.c 

Log message:
Ensure that the disk has been initialized after acquiring the lock and
not before as we might end up sleeping while acquiring the lock,
introducing a potential race.

Tested in snaps for a couple of days.

ok mpi@

Reported-by: syzbot+c87cdc2905b441c20...@syzkaller.appspotmail.com

Reply via email to