Date: Sun, 15 Jun 2003 09:18:58 -0700 (PDT) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/isa fd.c Message-ID: <200306151618.h5FGIwP2073471@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306151618.h5FGIwP2073471>
