HAMMER VFS - Fix umount panic related to volume flush
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Jan 2010 23:20:41 +0000 (15:20 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Jan 2010 23:20:41 +0000 (15:20 -0800)
commit544f91bfac8dc14f068459a6d169f95efd3adafe
tree577a208ee00ecbe1dc305fba7a5e5d85696eb6a3
parent2c9ef91193a40203db62853c8792ef509bc1696d
HAMMER VFS - Fix umount panic related to volume flush

* A volume undergoing I/O as-of the time of a umount can recurse within
  hammer_io_release() due to improper ref-count handling.

* Properly reference and flus hthe volume during umount instead of
  trying to call hammer_io_release() directly.

Reported-by: Jan Lentfer <Jan.Lentfer@web.de>
sys/vfs/hammer/hammer_ondisk.c