aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/sem.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-02-08 14:37:40 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-02-18 15:54:36 -0500
commit76b6159ba094544e003a237cedcf555d82fa3bfe (patch)
tree134d104a2e1568d752a8d509cdeba86815f8f66d /ipc/sem.c
parente30809fde59d591809f00caa1a4c960cca5916af (diff)
downloadkernel_samsung_smdk4412-76b6159ba094544e003a237cedcf555d82fa3bfe.zip
kernel_samsung_smdk4412-76b6159ba094544e003a237cedcf555d82fa3bfe.tar.gz
kernel_samsung_smdk4412-76b6159ba094544e003a237cedcf555d82fa3bfe.tar.bz2
[PATCH] fix handling of st_nlink on procfs root
1) it should use nr_processes(), not nr_threads; otherwise we are getting very confused find(1) and friends, among other things. 2) better do that at stat() time than at every damn lookup in procfs root. Patch had been sitting in FC4 kernels for many months now... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions