sys/vfs/hammer: Don't repeat layer1 blockmap check of volume-to-remove
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 21 Aug 2015 12:12:06 +0000 (21:12 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 22 Aug 2015 15:48:30 +0000 (00:48 +0900)
commitff2ee76c43209cda267526f3b460f119e6d6070a
tree38f0b1b6ecb02a20e8b19e9a7d894dd2df786367
parent4af7f53747c5cfc504b9ec89242b7a195fbfb933
sys/vfs/hammer: Don't repeat layer1 blockmap check of volume-to-remove

hammer's blockmap allocator can simply skip the whole volume
without going through unnecessary goto;s when the allocator's
current zone2 offset is in the volume-to-remove.

This is similar to 0871ec5 except that this commit does not
need to check layer1->phys_offset because that volume is what
hammer volume-del is wanting to remove.
sys/vfs/hammer/hammer_blockmap.c