* i_nlink of proc root in 2.6
@ 2003-09-28 4:23 Herbert Poetzl
0 siblings, 0 replies; only message in thread
From: Herbert Poetzl @ 2003-09-28 4:23 UTC (permalink / raw)
To: linux-kernel
Hi All!
just stumbled over a weird behaviour in 2.6.0-test5 ...
the procfs root directory inode is supposed to show
the number of 'links' according to the subdirectories,
but instead shows the value used for initialization,
although the i_nlink is updated in proc_root_lookup()
best,
Herbert
---------- should be >= 11
v
dr-xr-xr-x 2 root root 0 Sep 28 04:16 .
drwxr-xr-x 14 1000 1000 1024 Jul 13 20:39 ..
dr-xr-xr-x 3 root root 0 Sep 28 04:16 1
dr-xr-xr-x 3 root root 0 Sep 28 04:16 10
dr-xr-xr-x 3 root root 0 Sep 28 04:16 2
dr-xr-xr-x 3 root root 0 Sep 28 04:16 3
dr-xr-xr-x 3 root root 0 Sep 28 04:16 4
dr-xr-xr-x 3 root root 0 Sep 28 04:16 5
dr-xr-xr-x 3 root root 0 Sep 28 04:16 6
dr-xr-xr-x 3 root root 0 Sep 28 04:16 7
dr-xr-xr-x 3 root root 0 Sep 28 04:16 8
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-28 4:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-28 4:23 i_nlink of proc root in 2.6 Herbert Poetzl
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).