]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim: properly de-duplicate fstrim -A
authorStanislav Brabec <sbrabec@suse.cz>
Mon, 10 Jun 2019 19:59:17 +0000 (21:59 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 11 Jun 2019 08:26:55 +0000 (10:26 +0200)
commit402006fa6e4dd1ce52758f9be91caaffffb3f337
tree3b8e80318690d265341eb630039f95884a462a04
parent2d22ac64e4d6e6732640f38b7232b5bcdc84a877
fstrim: properly de-duplicate fstrim -A

fstab can contain tag based mounts. De-duplication by source has to be
done after resolving the full source path.

Perform the table iteration twice. First time, prepare for
de-duplication, second time perform the TRIM itself.

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
sys-utils/fstrim.c