[systemd-devel] 220 regression: path_is_mount_point() for non-directories
Martin Pitt
martin.pitt at ubuntu.com
Mon May 25 12:31:08 PDT 2015
Martin Pitt [2015-05-25 21:06 +0200]:
> Alternatively we could pass a "parent_path" to fd_is_mount_point(),
> compute that in path_is_mountpoint(), and don't specify one (or maybe
> we even can specify it easily, I didn't check) in rm_rf_children() as
> file bind mounts don't seem relevant there. This would be simpler, but
> it would technically be an API break (unless we want to add
> fd_is_mount_point_with_parent).
Ah no, it's just in src/shared, i. e. in libsystemd-shared.la, but not
exported to libsystemd.so. Thus no API break.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the systemd-devel
mailing list