[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161013200904.GA23139@infradead.org>
Date: Thu, 13 Oct 2016 13:09:04 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Vineeth Remanan Pillai <vineethp@...zon.com>
Cc: viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, kamatam@...zon.com,
aliguori@...zon.com
Subject: Re: [PATCH] namei: revert old behaviour for filename_lookup with
LOOKUP_PARENT flag
On Thu, Oct 13, 2016 at 07:58:51PM +0000, Vineeth Remanan Pillai wrote:
> filename_lookup used to return success for non-existing file when called
> with LOOKUP_PARENT flag. This behaviour was changed with
> commit 8bcb77fabd7c ("namei: split off filename_lookupat()
> with LOOKUP_PARENT")
>
> The above patch split parent lookup functionality to a different function
> filename_parentat and changed all calls to filename_lookup(LOOKUP_PARENT)
> to the new function filename_parentat. But functions like kern_path which
> passed the flags directly to filename_lookup regressed due to this.
>
> This patch aims to fix the regressed behaviour by calling
> filename_parentat from filename_lookup if the flags contain LOOKUP_PARENT.
What callers shows te problems? That's probaby were the fix need to got
in, and even if not that's still part of a good bug report.
Powered by blists - more mailing lists