On Wed, Dec 17, 2014 at 08:59:15AM +0100, Umut Tezduyar Lindskog wrote:
> Thanks Zbigniew,
> 
> I have only fixed the fallback: case and missed to fix the real case
> where we use the name_to_handle. Could you please change that too. It
> will look something like this:
> 
> @@ -489,7 +489,7 @@ int path_is_mount_point(const char *t, bool 
> allow_symlink) {
> -        r = name_to_handle_at(AT_FDCWD, parent, &h.handle,
> &mount_id_parent, 0);
> +        r = name_to_handle_at(AT_FDCWD, parent, &h.handle,
> &mount_id_parent, AT_SYMLINK_FOLLOW);
Done.

I also did another optimization (?) in a follow up commit. Please test.

Zbyszek
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to