summaryrefslogtreecommitdiff
path: root/net/sctp/protocol.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-06-18 17:45:07 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2015-07-06 21:39:33 (GMT)
commit18ca51d8211065f10672374336cd08d495968c73 (patch)
tree9be8fb4d8d961ecee2d7195b3eb38e49c2c4f311 /net/sctp/protocol.c
parent31cd043e1a09c579c4cd38ea432200fbeae6af1f (diff)
downloadlinux-18ca51d8211065f10672374336cd08d495968c73.tar.xz
ufs_trunc_tindirect(): pass the number of blocks to keep
IOW, the distance of cutoff from the begining of the branch (in blocks). That (and the fact that block just prior to cutoff is guaranteed to be present) allows to tell whether to free triple indirect block just by looking at the offset. While we are at it, using u64 for index in the block is wrong - those should be unsigned int. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/sctp/protocol.c')
0 files changed, 0 insertions, 0 deletions