]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fstrim: remove obsolete comment
authorKarel Zak <kzak@redhat.com>
Thu, 15 Jun 2017 09:49:09 +0000 (11:49 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 15 Jun 2017 09:49:09 +0000 (11:49 +0200)
We do not de-duplicate by FS root (since afa382f2e087b71c9e626144f2f313abc42ad594).

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fstrim.c

index be3cd34a3b0a0675165a91a972f767dcfe86ea6b..c400a61b55a2b21cbe513a5b22661a1c86a7dd00 100644 (file)
@@ -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) {