diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-06-18 14:55:50 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-07-06 17:39:38 -0400 |
commit | 6775e24d9ccf6a48ebd1d31ca77db5ebfe00ce43 (patch) | |
tree | 55ec87daf1af1282f389f8481d9cc0431180c3a1 /block/ioprio.c | |
parent | 85416288bf730cffb61ab6ce8a7b97b17c73458f (diff) | |
download | linux-6775e24d9ccf6a48ebd1d31ca77db5ebfe00ce43.tar.bz2 |
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 <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions