[PATCH] procfs fixes for inotify/dnotify

From: Thomas Ogrisegg
Date: Tue Feb 21 2006 - 16:14:15 EST


Problem description:
When a new process is created, the creation of the respective PID
subdirectory of /proc is deferred until the /proc-directory is beeing
read (by e.g. ps(1)). This causes file notification frameworks like
dnotify and inotify to not work correctly with /proc.

This patch fixes the problem.

Signed-off-by: Thomas Ogrisegg <tom-lkml@xxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/