"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@suse.cz>
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)