inotify: do not reuse watch descriptors
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 01:27:10 +0000 (20:27 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:20 +0000 (09:58 -0400)
Prior to 2.6.31 inotify would not reuse watch descriptors until all of
them had been used at least once.  After the rewrite inotify would reuse
watch descriptors.  The selinux utility 'restorecond' was found to have
problems when watch descriptors were reused.  This patch reverts to the
pre inotify rewrite behavior to not reuse watch descriptors.

Signed-off-by: Eric Paris <eparis@redhat.com>

No differences found