Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2002 07:32:12 -0800 (PST)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/specfs spec_vnops.c
Message-ID:  <200211011532.gA1FWCA4017922@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2002/11/01 07:32:12 PST

  Modified files:
    sys/fs/specfs        spec_vnops.c 
  Log:
  Put a KASSERT in specfs::strategy() to check that the incoming buffer
  has a valid b_iocmd.  Valid is any one of BIO_{READ,WRITE,DELETE}.
  
  I have seen at least one case where the bio_cmd field was zero once the
  request made it into GEOM.  Putting the KASSERT here allows us to spot
  the culprit in the backtrace.
  
  Revision  Changes    Path
  1.185     +8 -2      src/sys/fs/specfs/spec_vnops.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211011532.gA1FWCA4017922>