diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-06-18 17:45:07 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-07-06 21:39:33 (GMT) |
commit | 18ca51d8211065f10672374336cd08d495968c73 (patch) | |
tree | 9be8fb4d8d961ecee2d7195b3eb38e49c2c4f311 /drivers/ata | |
parent | 31cd043e1a09c579c4cd38ea432200fbeae6af1f (diff) | |
download | linux-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 'drivers/ata')
0 files changed, 0 insertions, 0 deletions