]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/procfs: use VFS dispatch for read and close
authorKarel Zak <kzak@redhat.com>
Tue, 30 Jun 2026 15:17:31 +0000 (17:17 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 9 Jul 2026 10:18:04 +0000 (12:18 +0200)
commit4e9acd2dbb4ac30f14ca7ec6a8b83aab622b4214
tree76961131d7ee63d12db6a3da0bd9bc299303d965
parent5cb720116485e0a1c4e6cca1afeffb766b31e11c
lib/procfs: use VFS dispatch for read and close

Pass VFS ops from path_cxt to read_procfs_file() and use
ul_vfs_close() in procfs_process_get_data_for().

Addresses: https://github.com/util-linux/util-linux/issues/4308
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/procfs.c