]> git.baikalelectronics.ru Git - kernel.git/commit
audit: Allocate fsnotify mark independently of chunk
authorJan Kara <jack@suse.cz>
Mon, 12 Nov 2018 14:54:49 +0000 (09:54 -0500)
committerPaul Moore <paul@paul-moore.com>
Mon, 12 Nov 2018 14:54:49 +0000 (09:54 -0500)
commit60da1eeb8407b54f81976fd03814cae82849535c
tree7d690d7b76a922e10317bcfcf7d5b348541baccc
parenta7a29240c1de872f9cb6ed8d4fd8390ca841bcdd
audit: Allocate fsnotify mark independently of chunk

Allocate fsnotify mark independently instead of embedding it inside
chunk. This will allow us to just replace chunk attached to mark when
growing / shrinking chunk instead of replacing mark attached to inode
which is a more complex operation.

Reviewed-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit_tree.c