"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 <sbrabec@xxxxxxx> --- sys-utils/fstrim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/fstrim.c b/sys-utils/fstrim.c index cae38cdff..ff029015e 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) -- 2.21.0 -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx Křižíkova 148/34 (Corso IIa) tel: +420 284 084 060 186 00 Praha 8-Karlín fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76