ufs_trunc_tindirect(): pass the number of blocks to keep
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 18 Jun 2015 17:45:07 +0000 (13:45 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 Jul 2015 21:39:33 +0000 (17:39 -0400)
IOW, the distance of cutoff from the begining of the branch
(in blocks).

That (and the fact that block just prior to cutoff is guaranteed to
be present) allows to tell whether to free triple indirect block
just by looking at the offset.

While we are at it, using u64 for index in the block is wrong -
those should be unsigned int.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ufs/inode.c

diff --cc fs/ufs/inode.c
Simple merge