cvs commit: src/sys/boot/common devopen.c

Marcel Moolenaar marcel at FreeBSD.org
Thu Nov 2 00:02:35 UTC 2006


marcel      2006-11-02 00:02:22 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/common      devopen.c 
  Log:
  o  Make sure to clear f->f_devdata if d_dev->dv_open() fails. It
     would otherwise cause devclose() to free() the memory again.
  o  Refactor devopen() so that it's more readable.
  
  Revision  Changes    Path
  1.5       +17 -12    src/sys/boot/common/devopen.c


More information about the cvs-all mailing list