]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: fix and cleanup relatime use
authorKarel Zak <kzak@redhat.com>
Thu, 23 Mar 2023 13:22:37 +0000 (14:22 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 23 Mar 2023 13:22:37 +0000 (14:22 +0100)
commited96995bd7c1433627d02dfd30a411e6a0e56d1f
treedb56b6ee74c26f86f01d5ee0b6c44e547fcd8c08
parent0749b36263434239766385af01fbceb13819a20f
libmount: fix and cleanup relatime use

* move atime logic to optlist

* MOUNT_ATTR_RELATIME is zero, so we cannot use use "if (!attr)" to skip mount_setattr()

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