]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: copy uniq_id in mnt_copy_fs()
authorKarel Zak <kzak@redhat.com>
Thu, 25 Jun 2026 10:17:02 +0000 (12:17 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 29 Jun 2026 09:05:33 +0000 (11:05 +0200)
commitaca09c233df931dd9468bf0d74ed7a67ae953858
tree5d9fcac7d38b6ea1199ee889564db01e6f5a2f8f
parentb15742bf5aff23f4d21565fbb6ce31b13c54263d
libmount: copy uniq_id in mnt_copy_fs()

The mnt_copy_fs() function copies all filesystem entry fields but
missed uniq_id, causing the unique mount ID to be lost when fs entries
are duplicated (e.g., for utab updates).

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/fs.c