commit | 7050c48826d5adb2210bddfb6a67aa13bbe984ed | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Thu Dec 17 20:27:10 2009 -0500 |
committer | Eric Paris <eparis@redhat.com> | Wed Jul 28 09:58:20 2010 -0400 |
tree | 21a2f73a9953f1125aea81e02ef547afbe33661a | |
parent | 6f3a539e3bd8ed2eafa532443723d56896153a00 [diff] |
inotify: do not reuse watch descriptors 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>