summaryrefslogtreecommitdiff
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-11-12 17:55:16 +0300
committerPaul Moore <paul@paul-moore.com>2018-11-12 17:55:16 +0300
commit83d23bc8aedc51fc40078026e9fae6e349d83b2a (patch)
tree0be4159cb4611eb3ddaaa6c690d2609407412acf /kernel/irq_work.c
parent8432c70062978d9a57bde6715496d585ec520c3e (diff)
downloadlinux-83d23bc8aedc51fc40078026e9fae6e349d83b2a.tar.xz
audit: Replace chunk attached to mark instead of replacing mark
Audit tree code currently associates new fsnotify mark with each new chunk. As chunk attached to an inode is replaced when new tag is added / removed, we also need to remove old fsnotify mark and add a new one on such occasion. This is cumbersome and makes locking rules somewhat difficult to follow. Fix these problems by allocating fsnotify mark independently of chunk and keeping it all the time while there is some chunk attached to an inode. Also add documentation about the locking rules so that things are easier to follow. Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Richard Guy Briggs <rgb@redhat.com> [PM: minor merge fuzz due to updated patches previously in the series] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions