• E
    fsnotify: fix list walk order · f72adfd5
    Eric Paris 提交于
    Marks were stored on the inode and vfsmonut mark list in order from
    highest memory address to lowest memory address.  The code to walk those
    lists thought they were in order from lowest to highest with
    unpredictable results when trying to match up marks from each.  It was
    possible that extra events would be sent to userspace when inode
    marks ignoring events wouldn't get matched with the vfsmount marks.
    
    This problem only affected fanotify when using both vfsmount and inode
    marks simultaneously.
    Signed-off-by: NEric Paris <eparis@redhat.com>
    f72adfd5
fsnotify.c 9.6 KB