summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2017-06-15 11:49:09 +0200
committerKarel Zak2017-06-15 11:49:09 +0200
commitc0b0748544ae85b8ff42fb4dbd63ddd7aed4de7d (patch)
treeb3e7cf4a13a0b727c853ca7ec172d65b12d3e6c2
parentfstrim: prefer earlier mounted filesystems (diff)
downloadkernel-qcow2-util-linux-c0b0748544ae85b8ff42fb4dbd63ddd7aed4de7d.tar.gz
kernel-qcow2-util-linux-c0b0748544ae85b8ff42fb4dbd63ddd7aed4de7d.tar.xz
kernel-qcow2-util-linux-c0b0748544ae85b8ff42fb4dbd63ddd7aed4de7d.zip
fstrim: remove obsolete comment
We do not de-duplicate by FS root (since afa382f2e087b71c9e626144f2f313abc42ad594). Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--sys-utils/fstrim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/fstrim.c b/sys-utils/fstrim.c
index be3cd34a3..c400a61b5 100644
--- a/sys-utils/fstrim.c
+++ b/sys-utils/fstrim.c
@@ -193,7 +193,7 @@ static int fstrim_all(struct fstrim_range *rangetpl, int verbose)
/* de-duplicate by mountpoints */
mnt_table_uniq_fs(tab, 0, uniq_fs_target_cmp);
- /* de-duplicate by source and root */
+ /* de-duplicate by source */
mnt_table_uniq_fs(tab, MNT_UNIQ_FORWARD, uniq_fs_source_cmp);
while (mnt_table_next_fs(tab, itr, &fs) == 0) {