diff options
author | Harald Hoyer <harald@redhat.com> | 2015-02-20 13:25:42 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-03-10 17:46:20 +0100 |
commit | 27cc6f166bdebc0e698fb692993b801db2618866 (patch) | |
tree | cff65e348f319d89b581414f433c3f605ac6ffc2 /src/gudev/gudevdevice.c | |
parent | 918315e457ca36cab94ff3b6060e143968c99ace (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 /
Diffstat (limited to 'src/gudev/gudevdevice.c')
0 files changed, 0 insertions, 0 deletions