aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2020-07-22 12:58:43 +0000
committerJan Kara <[email protected]>2020-07-27 21:16:33 +0000
commit7dbe6080167860df0bf8627e55fd5154f366cc7a (patch)
treed1f584c869fbf1309d5bc759e66f4cb6cde549b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentinotify: do not set FS_EVENT_ON_CHILD in non-dir mark mask (diff)
downloadkernel-7dbe6080167860df0bf8627e55fd5154f366cc7a.tar.gz
kernel-7dbe6080167860df0bf8627e55fd5154f366cc7a.zip
audit: do not set FS_EVENT_ON_CHILD in audit marks mask
The audit group marks mask does not contain any events possible on a child so setting the flag FS_EVENT_ON_CHILD in the mask is counter productive. It may lead to the undesired outcome of setting the dentry flag DCACHE_FSNOTIFY_PARENT_WATCHED on a directory inode even though it is not watching children, because the audit mark contribute the flag FS_EVENT_ON_CHILD to the inode's fsnotify_mask and another mark could be contributing an event that is possible on child to the inode's mask. Furthermore in the following patches we want to use FS_EVENT_ON_CHILD for non-dir inodes for other purposes so stop using the flag. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions