[BACK]Return to init_main.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/init_main.c between version 1.537 and 1.538

version 1.537, 2022/03/18 23:37:06 version 1.538, 2022/03/19 13:51:35
Line 890  rootconf_handle_wedges(void)
Line 890  rootconf_handle_wedges(void)
                 if (vp == NULL)                  if (vp == NULL)
                         return;                          return;
   
                   VOP_UNLOCK(vp);
                 error = VOP_IOCTL(vp, DIOCGDINFO, &label, FREAD, NOCRED);                  error = VOP_IOCTL(vp, DIOCGDINFO, &label, FREAD, NOCRED);
                   vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);
                 VOP_CLOSE(vp, FREAD, NOCRED);                  VOP_CLOSE(vp, FREAD, NOCRED);
                 vput(vp);                  vput(vp);
                 if (error)                  if (error)

Legend:
Removed from v.1.537  
changed lines
  Added in v.1.538

CVSweb <webmaster@jp.NetBSD.org>