diff options
| -rw-r--r-- | fs/proc/generic.c | 15 | ||||
| -rw-r--r-- | fs/proc/inode-alloc.txt | 14 |
2 files changed, 15 insertions, 14 deletions
diff --git a/fs/proc/generic.c b/fs/proc/generic.c index 5d2989e9dcc1..8c68bbe2b61e 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c | |||
| @@ -307,6 +307,21 @@ static DEFINE_SPINLOCK(proc_inum_lock); /* protects the above */ | |||
| 307 | /* | 307 | /* |
| 308 | * Return an inode number between PROC_DYNAMIC_FIRST and | 308 | * Return an inode number between PROC_DYNAMIC_FIRST and |
| 309 | * 0xffffffff, or zero on failure. | 309 | * 0xffffffff, or zero on failure. |
| 310 | * | ||
| 311 | * Current inode allocations in the proc-fs (hex-numbers): | ||
| 312 | * | ||
| 313 | * 00000000 reserved | ||
| 314 | * 00000001-00000fff static entries (goners) | ||
| 315 | * 001 root-ino | ||
| 316 | * | ||
| 317 | * 00001000-00001fff unused | ||
| 318 | * 0001xxxx-7fffxxxx pid-dir entries for pid 1-7fff | ||
| 319 | * 80000000-efffffff unused | ||
| 320 | * f0000000-ffffffff dynamic entries | ||
| 321 | * | ||
| 322 | * Goal: | ||
| 323 | * Once we split the thing into several virtual filesystems, | ||
| 324 | * we will get rid of magical ranges (and this comment, BTW). | ||
| 310 | */ | 325 | */ |
| 311 | static unsigned int get_inode_number(void) | 326 | static unsigned int get_inode_number(void) |
| 312 | { | 327 | { |
diff --git a/fs/proc/inode-alloc.txt b/fs/proc/inode-alloc.txt deleted file mode 100644 index 77212f938c2c..000000000000 --- a/fs/proc/inode-alloc.txt +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | Current inode allocations in the proc-fs (hex-numbers): | ||
| 2 | |||
| 3 | 00000000 reserved | ||
| 4 | 00000001-00000fff static entries (goners) | ||
| 5 | 001 root-ino | ||
| 6 | |||
| 7 | 00001000-00001fff unused | ||
| 8 | 0001xxxx-7fffxxxx pid-dir entries for pid 1-7fff | ||
| 9 | 80000000-efffffff unused | ||
| 10 | f0000000-ffffffff dynamic entries | ||
| 11 | |||
| 12 | Goal: | ||
| 13 | a) once we'll split the thing into several virtual filesystems we | ||
| 14 | will get rid of magical ranges (and this file, BTW). | ||
