]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/fstab-util: use is_device_path instead of is_device_node
authorMike Yuan <me@yhndnzj.com>
Sat, 5 Aug 2023 14:31:24 +0000 (22:31 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 5 Aug 2023 21:39:46 +0000 (22:39 +0100)
commitcc1e1bb03e49ccb90f36173a3d1ff10ab5676eb0
tree3d494a13f1ca6bae1ad7ca17706b80ff3970bde6
parent0be1de7ffc4a608482e45890425b6fd90f6073f0
shared/fstab-util: use is_device_path instead of is_device_node

Follow-up for 99299d0d5a722812cedc0a23e4987f90a257c2d2

is_device_node() calls lstat(), causing device node
symlinks under /dev/disk/ not being compared correctly
using devnode_same().

Fixes #28585
src/shared/fstab-util.c