From: Stanislav Brabec Date: Mon, 10 Jun 2019 19:59:21 +0000 (+0200) Subject: fstrim: Fix fstrim_all() comment X-Git-Tag: v2.34~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4080be3d7d84952e42048d2f266d49412ada955c;p=thirdparty%2Futil-linux.git fstrim: Fix fstrim_all() comment "convert LABEL=" does not happens in mnt_fs_get_source(), but later in mnt_resolve_spec(). To make this more clean, move the comment before this chunk of code. Signed-off-by: Stanislav Brabec --- diff --git a/sys-utils/fstrim.c b/sys-utils/fstrim.c index cae38cdff9..ff029015e6 100644 --- a/sys-utils/fstrim.c +++ b/sys-utils/fstrim.c @@ -290,8 +290,8 @@ static int fstrim_all(struct fstrim_control *ctl) if (!tgt || mnt_fs_is_pseudofs(fs) || mnt_fs_is_netfs(fs)) continue; + /* convert LABEL= (etc.) from fstab to paths */ if (!src && cache) { - /* convert LABEL= (etc.) from fstab to paths */ const char *spec = mnt_fs_get_source(fs); if (!spec)