__ufs_trunc_blocks(): turn the part after switch into a loop
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 18 Jun 2015 19:47:17 +0000 (15:47 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 Jul 2015 21:39:41 +0000 (17:39 -0400)
commit42432739b5902f72011f701f5cd5b4227ebe991c
tree885f27b11eb8bf25056a50d15b5fd26c23be2273
parentef3a315d4ca179fd0b56597e695cd262a8b559b7
__ufs_trunc_blocks(): turn the part after switch into a loop

... and turn the switch into if (), since all cases with
depth != 1 have just become identical.

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