summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_ipvs.c
diff options
context:
space:
mode:
authorAl Viro2017-06-15 09:57:46 +0200
committerAl Viro2017-06-15 09:57:46 +0200
commita8fad984833832d5ca11a9ed64ddc55646da30e3 (patch)
treefa151e8eb08d478103849e36a65bc350cfe0def1 /net/netfilter/xt_ipvs.c
parentufs: more deadlock prevention on tail unpacking (diff)
downloadkernel-qcow2-linux-a8fad984833832d5ca11a9ed64ddc55646da30e3.tar.gz
kernel-qcow2-linux-a8fad984833832d5ca11a9ed64ddc55646da30e3.tar.xz
kernel-qcow2-linux-a8fad984833832d5ca11a9ed64ddc55646da30e3.zip
ufs_truncate_blocks(): fix the case when size is in the last direct block
The logics when deciding whether we need to do anything with direct blocks is broken when new size is within the last direct block. It's better to find the path to the last byte _not_ to be removed and use that instead of the path to the beginning of the first block to be freed... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/netfilter/xt_ipvs.c')
0 files changed, 0 insertions, 0 deletions