Hi all, Here's a series of patches to fix some problems related to s_maxbytes that I found by running fstests in a 32-bit VM. The first step is to fix bunmapi during inactivation so that it cleans out /all/ the blocks of an unlinked file instead of leaking them; and the second is to fix the s_maxbytes computation to avoid setting a limit larger than what the pagecache supports. This has been lightly tested with fstests. Enjoy! Comments and questions are, as always, welcome. --D