summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2018-09-01 09:40:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-10 08:55:56 +0200
commita06e07ce6f61fb3280615965fdc1652779df248d (patch)
tree6a80961570cbe59caf181219e8320ba530409642 /drivers/net/ethernet
parent5ce55b0915e764cb474b0663c1f794d2a3d64b65 (diff)
downloadlinux-stable-a06e07ce6f61fb3280615965fdc1652779df248d.tar.gz
linux-stable-a06e07ce6f61fb3280615965fdc1652779df248d.tar.bz2
linux-stable-a06e07ce6f61fb3280615965fdc1652779df248d.zip
fsnotify: fix ignore mask logic in fsnotify()
[ Upstream commit 9bdda4e9cf2dcecb60a0683b10ffb8cd7e5f2f45 ] Commit 92183a42898d ("fsnotify: fix ignore mask logic in send_to_group()") acknoledges the use case of ignoring an event on an inode mark, because of an ignore mask on a mount mark of the same group (i.e. I want to get all events on this file, except for the events that came from that mount). This change depends on correctly merging the inode marks and mount marks group lists, so that the mount mark ignore mask would be tested in send_to_group(). Alas, the merging of the lists did not take into account the case where event in question is not in the mask of any of the mount marks. To fix this, completely remove the tests for inode and mount event masks from the lists merging code. Fixes: 92183a42898d ("fsnotify: fix ignore mask logic in send_to_group") Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions