From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sun, 17 Oct 2004 04:05:02 -0700 From: geoff@collyer.net To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] truncation via wstat on ken's fs Topicbox-Message-UUID: ef5fe04a-eacd-11e9-9e20-41e7f4b1d025 Changing the length is easy, but giving back the no-longer-needed blocks is messy, involving a recursive walk of the indirect blocks. I'm tempted to just change the length, which gives the desired user-visible effect, unless the side-effect of freeing the unneeded storage is important to someone.