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>
Tue, 18 Feb 2014 00:29:12 +0000 (16:29 -0800)
commit5d7447f66073e0979186f97c14beb3f5bd47fba5
tree8f38c82aefe0a024183b398161e661b36b211fc4
parent5126288c8cb02f6584243cc34bab3b62a3eae20a
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