Files
linux-apfs/drivers
Tejun Heo f92a26365a libata: change ATA_QCFLAG_DMAMAP semantics
ATA_QCFLAG_DMAMAP was a bit peculiar in that it got set during qc
initialization and cleared if DMA mapping wasn't necessary.  Make it
more straight forward by making the following changes.

* Don't set it during initialization.  Set it after DMA is actually
  mapped.

* Add BUG_ON() to guarantee that there is data to transfer if DMAMAP
  is set.  This always holds for the current code.  The BUG_ON() is
  for docummentation and sanity check.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-01-23 05:24:14 -05:00
..
2008-01-14 08:52:22 -08:00
2008-01-14 21:53:31 +01:00
2008-01-11 11:42:07 -08:00
2007-12-31 23:11:11 +00:00
2007-12-23 12:54:37 -08:00
2007-12-17 19:28:15 -08:00
2008-01-21 19:39:41 -08:00