ufs_trunc_...indirect(): pass the array of indices instead of offsets
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 18 Jun 2015 18:36:31 +0000 (14:36 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 Jul 2015 21:39:37 +0000 (17:39 -0400)
commit85416288bf730cffb61ab6ce8a7b97b17c73458f
tree12425e1a68e71d9a1070807d818a8b1d51268aeb
parent7a4fdda72451f094374324a552be9fc7de8f3e8d
ufs_trunc_...indirect(): pass the array of indices instead of offsets

rather than bitslicing the offset just formed as sum of shifted indices,
pass the array of those indices itself.  NULL is used as equivalent
of "all zeroes" (== free the entire branch).

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