From: Al Viro Date: Thu, 18 Jun 2015 18:55:50 +0000 (-0400) Subject: ufs_trunc_..indirect(): more massage towards unifying X-Git-Tag: omap-for-v4.3/fixes-rc1~80^2~5^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6775e24d9ccf6a48ebd1d31ca77db5ebfe00ce43;p=pandora-kernel.git ufs_trunc_..indirect(): more massage towards unifying Instead of manually checking that the array contains only zeroes, find the position of the last non-zero (in __ufs_truncate(), where we can conveniently do that) and use that to tell if there's any non-zero in the array tail passed to ufs_trunc_...indirect(). The goal of all that clumsiness is to get fold these functions together. Signed-off-by: Al Viro --- Reading git-diff-tree failed