diff options
author | Eric Paris <eparis@redhat.com> | 2010-08-27 21:24:24 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-08-27 21:41:26 -0400 |
commit | f72adfd540bacc4f6ff57a7d708b1a6c8906bdb4 (patch) | |
tree | dffd43e47284095e98f2a2ab60f965fc68792008 /fs/read_write.c | |
parent | a2f13ad0ba5d94b9768c28469b45ca1e81a2b895 (diff) |
fsnotify: fix list walk order
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: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions