hammer - Really fix VFS_STATFS() when operating volumes.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 17 Feb 2014 15:47:49 +0000 (07:47 -0800)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 17 Feb 2014 15:47:49 +0000 (07:47 -0800)
commit63eefcf7775a18787490dc9fff3f8ce6657015af
treeb97aa17f666bbc4c1314870a45311b9a2ed97886
parenta1efa6881656c471d51c9509b6e9e913c923c5ed
hammer - Really fix VFS_STATFS() when operating volumes.

- Correct a mistake in the previous "fix". Compute the
  total number of blocks based on the bigblock count which
  was already updated.
- Take care of stats also on volume deletion.

Dragonfly-bug: <http://bugs.dragonflybsd.org/issue2497>
sys/vfs/hammer/hammer_volume.c