mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: _POSIX_SYMLOOP_MAX
       [not found] <UTC200406231435.i5NEZFQ08577.aeb@smtp.cwi.nl>
@ 2004-06-23 16:11 ` viro
  2004-06-23 17:18   ` _POSIX_SYMLOOP_MAX Andries Brouwer
  0 siblings, 1 reply; 4+ messages in thread
From: viro @ 2004-06-23 16:11 UTC (permalink / raw)
  To: Andries.Brouwer; +Cc: akpm, torvalds, linux-kernel

On Wed, Jun 23, 2004 at 04:35:15PM +0200, Andries.Brouwer@cwi.nl wrote:
> (cf http://marc.theaimsgroup.com/?l=linux-kernel&m=102426036209591&w=2)

Hrm...  Actually, after looking through that thread again, I have to admit
that I'm not happy with my reaction back then (basically, "it's ugly and
pointless, let's forget it unless something saner develops out of it").
It _was_ ugly and broken in that form, all right, but now I wonder how much
of the idea behind the current symlink patchkit had come from (successfully
forgotten) background thinking of how that something saner might look like ;-/

In case if that's what had happened, I owe Andries an apology for sloppiness -
it can be considered as fixed and sanitized version of his idea and all I can
say in defense is that I really did not remember his stuff when I came up with
that.  Which is not worth much, obviously.  And in any case I should've
checked the archives and look for related stuff that had come up earlier.
My apologies.  [cc'd to l-k since the symlink stuff had been posted there,
possibly with missing credit]

The differences between the current patchkit and patch in question are:
	a) no cleanup flags, just a method that does cleanup.  Obvious, much
cleaner, easy to do and mentioned as possibility in the original.
	b) no special "done" flag for "we don't have anything left for us to
traverse", just the usual check for "no string given" (aka. "is it NULL?").
	c) no magic flags => no problem with getting them clobbered
	d) no prototype changes, we just call a helper that stores pointer into
array in nameidata.  I wonder why Andries hadn't done that, BTW - especially
if there was a planned work on removing recursion; in that case array is an
obvious thing to do.  And that doesn't break existing filesystems.
	e) bunch of leaks in failure paths of foo_follow_link() fixed
	f) ->readlink() cleanup.  It could be actually done in either variant
and is fairly natural thing to do.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: _POSIX_SYMLOOP_MAX
  2004-06-23 16:11 ` _POSIX_SYMLOOP_MAX viro
@ 2004-06-23 17:18   ` Andries Brouwer
  2004-06-23 18:02     ` _POSIX_SYMLOOP_MAX viro
  0 siblings, 1 reply; 4+ messages in thread
From: Andries Brouwer @ 2004-06-23 17:18 UTC (permalink / raw)
  To: viro; +Cc: Andries.Brouwer, akpm, torvalds, linux-kernel

On Wed, Jun 23, 2004 at 05:11:34PM +0100, viro@parcelfarce.linux.theplanet.co.uk wrote:

> if ... I owe Andries an apology ...

Al, is that you? Never thought that you were able to say such things...
But never mind - the only goal is to improve Linux.

A funny coincidence that this came up less than 24 hours after
you posted this symlink patchkit.

Andries

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: _POSIX_SYMLOOP_MAX
  2004-06-23 17:18   ` _POSIX_SYMLOOP_MAX Andries Brouwer
@ 2004-06-23 18:02     ` viro
  2004-06-23 18:47       ` _POSIX_SYMLOOP_MAX Andries Brouwer
  0 siblings, 1 reply; 4+ messages in thread
From: viro @ 2004-06-23 18:02 UTC (permalink / raw)
  To: Andries Brouwer; +Cc: akpm, torvalds, linux-kernel

On Wed, Jun 23, 2004 at 07:18:24PM +0200, Andries Brouwer wrote:
> On Wed, Jun 23, 2004 at 05:11:34PM +0100, viro@parcelfarce.linux.theplanet.co.uk wrote:
> 
> > if ... I owe Andries an apology ...
> 
> Al, is that you? Never thought that you were able to say such things...

<raised brows>

So the difference between "bastard and proud of it" and "dishonest bastard"
is a new concept for you?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: _POSIX_SYMLOOP_MAX
  2004-06-23 18:02     ` _POSIX_SYMLOOP_MAX viro
@ 2004-06-23 18:47       ` Andries Brouwer
  0 siblings, 0 replies; 4+ messages in thread
From: Andries Brouwer @ 2004-06-23 18:47 UTC (permalink / raw)
  To: viro; +Cc: Andries Brouwer, akpm, torvalds, linux-kernel

On Wed, Jun 23, 2004 at 07:02:54PM +0100, viro@parcelfarce.linux.theplanet.co.uk wrote:

> > Al, is that you? Never thought that you were able to say such things...
> 
> <raised brows>
> 
> So the difference between "bastard and proud of it" and "dishonest bastard"
> is a new concept for you?

Nice to meet you - Al, honest bastard.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-23 18:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <UTC200406231435.i5NEZFQ08577.aeb@smtp.cwi.nl>
2004-06-23 16:11 ` _POSIX_SYMLOOP_MAX viro
2004-06-23 17:18   ` _POSIX_SYMLOOP_MAX Andries Brouwer
2004-06-23 18:02     ` _POSIX_SYMLOOP_MAX viro
2004-06-23 18:47       ` _POSIX_SYMLOOP_MAX Andries Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome