sys/vfs/hammer2: Use howmany() to calculate bulkfree bmap size
commit23d820f09112794a1a85ba798fea6551b78f974d
authorTomohiro Kusumi <tkusumi@netbsd.org>
Sun, 28 May 2023 09:15:12 +0000 (28 02:15 -0700)
committerTomohiro Kusumi <tkusumi@netbsd.org>
Sun, 28 May 2023 09:39:05 +0000 (28 02:39 -0700)
treeb38b59bb80ebf01607e1eb9e8d7b6df999dab82c
parente12df3bcd37d2ad44307986a19da65d0eb2136dd
sys/vfs/hammer2: Use howmany() to calculate bulkfree bmap size

Note that the calculation here is based on the ratio below.
1GB (layer1 size) : 32KB (layer1 bmap total) = hmp->total_size : size
sys/vfs/hammer2/hammer2_bulkfree.c