summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-private.h
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2015-02-20 13:25:42 +0100
committerAnthony G. Basile <blueness@gentoo.org>2015-03-18 20:51:19 -0400
commit35ef251e168ba03f395d04394b88fdb2fa437ea9 (patch)
treefc7d530829d836eb865755feece52da81b1dc73c /src/libudev/libudev-private.h
parent16ded2181496dbacd26229441abd59c224b2ba7a (diff)
path-util: fix path_is_mount_point() for symlinks
path_is_mount_point() compares the mount_id of a directory and the mount_id of the parent directory. When following symlinks, the function to get the parent directory does not take the symlink into account. /bin -> /usr/bin with /usr being a mountpoint: mount_id of /bin with AT_SYMLINK_FOLLOW != mount_id of / Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-private.h')
0 files changed, 0 insertions, 0 deletions