public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch] proc: remove obsolete comments
@ 2010-05-05  6:02 Amerigo Wang
  0 siblings, 0 replies; only message in thread
From: Amerigo Wang @ 2010-05-05  6:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, Alexey Dobriyan, Amerigo Wang

A quick test shows these comments are obsolete, so just remove them.

Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: WANG Cong <amwang@redhat.com>

---
diff --git a/fs/proc/generic.c b/fs/proc/generic.c
index 43c1274..2791907 100644
--- a/fs/proc/generic.c
+++ b/fs/proc/generic.c
@@ -343,21 +343,6 @@ static DEFINE_SPINLOCK(proc_inum_lock); /* protects the above */
 /*
  * Return an inode number between PROC_DYNAMIC_FIRST and
  * 0xffffffff, or zero on failure.
- *
- * Current inode allocations in the proc-fs (hex-numbers):
- *
- * 00000000		reserved
- * 00000001-00000fff	static entries	(goners)
- *      001		root-ino
- *
- * 00001000-00001fff	unused
- * 0001xxxx-7fffxxxx	pid-dir entries for pid 1-7fff
- * 80000000-efffffff	unused
- * f0000000-ffffffff	dynamic entries
- *
- * Goal:
- *	Once we split the thing into several virtual filesystems,
- *	we will get rid of magical ranges (and this comment, BTW).
  */
 static unsigned int get_inode_number(void)
 {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-05  6:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05  6:02 [Patch] proc: remove obsolete comments Amerigo Wang

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