cvs commit: src/sys/isa fd.c

Yar Tikhiy yar at FreeBSD.org
Sun Jun 15 09:19:00 PDT 2003


yar         2003/06/15 09:18:58 PDT

  FreeBSD src repository

  Modified files:
    sys/isa              fd.c 
  Log:
  Check whether the floppy type pointer has been set before trying
  to access floppy parameters through it.
  
  Note: The DIOCGSECTORSIZE and DIOCGMEDIASIZE handlers withing
  fdioctl() couldn't be just moved to below the existing check
  for blocking mode because fd->ft can be non-NULL while still
  in non-blocking mode (fd->ft can be set with the FD_STYPE ioctl.)
  
  PR:             kern/52338
  No MFC:         Not applicable to STABLE
  
  Revision  Changes    Path
  1.252     +4 -0      src/sys/isa/fd.c


More information about the cvs-src mailing list