commit | b4e4e1407312ae5a267ed7d716e6d4e7120a8430 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Thu Dec 17 21:24:21 2009 -0500 |
committer | Eric Paris <eparis@redhat.com> | Wed Jul 28 09:58:49 2010 -0400 |
tree | 2953d8885e3224955f1a5aca7c129709b26a059d | |
parent | 74766bbfa99adf8cb8119df6121851edba21c9d9 [diff] |
fsnotify: clone existing events fsnotify_clone_event will take an event, clone it, and return the cloned event to the caller. Since events may be in use by multiple fsnotify groups simultaneously certain event entries (such as the mask) cannot be changed after the event was created. Since fanotify would like to merge events happening on the same file it needs a new clean event to work with so it can change any fields it wishes. Signed-off-by: Eric Paris <eparis@redhat.com>