On Thu, 2016-12-08 at 17:28 +1300, Eric W. Biederman wrote:
> Ian Kent writes:
>
> > On Thu, 2016-12-08 at 10:30 +1300, Eric W. Biederman wrote:
> > > Ian Kent writes:
> > >
> > > > On Sat, 2016-12-03 at 05:13 +, Al Viro wrote:
> > > > > FWIW, I've folded that pile into vfs.git#work.a
Ian Kent writes:
> On Thu, 2016-12-08 at 10:30 +1300, Eric W. Biederman wrote:
>> Ian Kent writes:
>>
>> > On Sat, 2016-12-03 at 05:13 +, Al Viro wrote:
>> > > FWIW, I've folded that pile into vfs.git#work.autofs.
>> > >
>> > > Problems:
>> >
>> > snip ...
>> >
>> > > * the last one (p
On Thu, 2016-12-08 at 10:30 +1300, Eric W. Biederman wrote:
> Ian Kent writes:
>
> > On Sat, 2016-12-03 at 05:13 +, Al Viro wrote:
> > > FWIW, I've folded that pile into vfs.git#work.autofs.
> > >
> > > Problems:
> >
> > snip ...
> >
> > > * the last one (propagation-related) is too ug
Ian Kent writes:
> On Sat, 2016-12-03 at 05:13 +, Al Viro wrote:
>> FWIW, I've folded that pile into vfs.git#work.autofs.
>>
>> Problems:
>
> snip ...
>
>> * the last one (propagation-related) is too ugly to live - at the
>> very least, its pieces should live in fs/pnode.c; exposin
On Sat, 2016-12-03 at 05:13 +, Al Viro wrote:
> FWIW, I've folded that pile into vfs.git#work.autofs.
>
> Problems:
snip ...
> * the last one (propagation-related) is too ugly to live - at the
> very least, its pieces should live in fs/pnode.c; exposing propagate_next()
> is simp
On Sun, 2016-12-04 at 10:18 +0800, Ian Kent wrote:
> On Sat, 2016-12-03 at 23:29 +, Al Viro wrote:
> >
> > On Sat, Dec 03, 2016 at 05:13:22AM +, Al Viro wrote:
> > >
> > >
> > > * path_has_submounts() is broken. At the very least, it's
> > > AB-BA between mount_lock and rename_lock.
On Sat, 2016-12-03 at 23:29 +, Al Viro wrote:
> On Sat, Dec 03, 2016 at 05:13:22AM +, Al Viro wrote:
> >
> > * path_has_submounts() is broken. At the very least, it's
> > AB-BA between mount_lock and rename_lock. I would suggest trying to
> > put read_seqlock_excl(&mount_lock) around
On Sat, 2016-12-03 at 05:13 +, Al Viro wrote:
> FWIW, I've folded that pile into vfs.git#work.autofs.
>
> Problems:
> * (fixed) __path_is_mountpoint() should _not_ treat NULL from
> __lookup_mnt() as "nothing's mounted there" until it has checked
> that mount_lock hadn't been touch
On Sat, Dec 03, 2016 at 05:13:22AM +, Al Viro wrote:
> * path_has_submounts() is broken. At the very least, it's
> AB-BA between mount_lock and rename_lock. I would suggest trying to
> put read_seqlock_excl(&mount_lock) around the call of d_walk() in there,
> and using __lookup_mnt() in
FWIW, I've folded that pile into vfs.git#work.autofs.
Problems:
* (fixed) __path_is_mountpoint() should _not_ treat NULL from
__lookup_mnt() as "nothing's mounted there" until it has checked
that mount_lock hadn't been touched - mount --move on something unrelated
can race with loc
On Wed, 2016-11-30 at 14:22 -0800, Andrew Morton wrote:
> So a far as I can tell, this patch series is intended to
> address Al's review comments against the
> http://lkml.kernel.org/r/20161011053352.27645.83962.st...@pluto.themaw.net
> series?
That's right and also to fix an additional problem I
So a far as I can tell, this patch series is intended to
address Al's review comments against the
http://lkml.kernel.org/r/20161011053352.27645.83962.st...@pluto.themaw.net
series?
From: Ian Kent
Forgetting that the rcu lock allows nesting I added a superfluous rcu
version of path_is_mountpoint().
Merge it and the rcu version, make the common case (d_mountpoint()
returning true) inline and change the path parameter to a const.
Also move the function definition to include/
13 matches
Mail list logo