freebsd-dev/sys/ufs
Konstantin Belousov 2b19466836 Properly lock DQREF() with dqhlock. Missed locking caused counter
corruption.

Assert that the dq reference value is sane before decrementing it.

Reported and tested by:	pho
MFC after:	1 week
2012-02-22 20:03:51 +00:00
..
ffs Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
ufs Properly lock DQREF() with dqhlock. Missed locking caused counter 2012-02-22 20:03:51 +00:00