Re: [systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-17 Thread Umut Tezduyar Lindskog
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 =

Re: [systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-17 Thread Jóhann B. Guðmundsson
On 12/17/2014 02:20 AM, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Dec 16, 2014 at 09:58:39PM +0100, Umut Tezduyar Lindskog wrote: --- src/shared/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/path-util.c b/src/shared/path-util.c index

Re: [systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-17 Thread Umut Tezduyar Lindskog
On Wed, Dec 17, 2014 at 10:21 AM, Jóhann B. Guðmundsson johan...@gmail.com wrote: On 12/17/2014 02:20 AM, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Dec 16, 2014 at 09:58:39PM +0100, Umut Tezduyar Lindskog wrote: --- src/shared/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-17 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Dec 17, 2014 at 10:48:55AM +0100, Umut Tezduyar Lindskog wrote: On Wed, Dec 17, 2014 at 10:21 AM, Jóhann B. Guðmundsson johan...@gmail.com wrote: On 12/17/2014 02:20 AM, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Dec 16, 2014 at 09:58:39PM +0100, Umut Tezduyar Lindskog wrote:

Re: [systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-17 Thread Zbigniew Jędrzejewski-Szmek
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

[systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-16 Thread Umut Tezduyar Lindskog
--- src/shared/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/path-util.c b/src/shared/path-util.c index dcc8321..304281f 100644 --- a/src/shared/path-util.c +++ b/src/shared/path-util.c @@ -518,7 +518,7 @@ fallback: if (r 0)

Re: [systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-16 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Dec 16, 2014 at 09:58:39PM +0100, Umut Tezduyar Lindskog wrote: --- src/shared/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/path-util.c b/src/shared/path-util.c index dcc8321..304281f 100644 --- a/src/shared/path-util.c +++