LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [RFC] what the hell is going on with /proc/self?
@ 2007-10-23  2:03 Al Viro
  2007-10-23 20:20 ` Matt Mackall
  0 siblings, 1 reply; 4+ messages in thread
From: Al Viro @ 2007-10-23  2:03 UTC (permalink / raw)
  To: linux-kernel

	What is the proc_base_stuff[] nonsense about?  AFAICS, that
went in with no reason whatsoever in
commit 801199ce805a2412bbcd9bfe213092ec656013dd
Author: Eric W. Biederman <ebiederm@xmission.com>
Date:   Mon Oct 2 02:18:48 2006 -0700

	Rationale is very weak and patch adds considerable complexity
for no good reason.  Besides, it's obfuscated just for the hell of it:
	if (!IS_ERR(result) || PTR_ERR(result) != -ENOENT)
instead of
	if (result != ERR_PTR(-ENOENT))
etc.

	Unless there are _real_ plans that would justify that animal,
I'm going to get rid of it in the pending patch series (/proc/self
cleanups, saner dentry retention for non-process parts, etc.).

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

end of thread, other threads:[~2007-10-24  2:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-23  2:03 [RFC] what the hell is going on with /proc/self? Al Viro
2007-10-23 20:20 ` Matt Mackall
2007-10-23 20:42   ` Al Viro
2007-10-24  2:57     ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).