summaryrefslogtreecommitdiff
path: root/fs/affs
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-04-04 01:46:33 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 03:20:51 +0400
commitf083441ba86acb9e2ef9c1d1747725e488c8b1ff (patch)
tree227d46ea995a81645b0a1eb9b5147397a1e0de87 /fs/affs
parent3298cf37bee59c66a51da0cea8bae0d0418e27fd (diff)
downloadlinux-f083441ba86acb9e2ef9c1d1747725e488c8b1ff.tar.xz
fanotify: use fanotify event structure for permission response processing
Currently, fanotify creates new structure to track the fact that permission event has been reported to userspace and someone is waiting for a response to it. As event structures are now completely in the hands of each notification framework, we can use the event structure for this tracking instead of allocating a new structure. Since this makes the event structures for normal events and permission events even more different and the structures have different lifetime rules, we split them into two separate structures (where permission event structure contains the structure for a normal event). This makes normal events 8 bytes smaller and the code a tad bit cleaner. [akpm@linux-foundation.org: fix build] Signed-off-by: Jan Kara <jack@suse.cz> Cc: Eric Paris <eparis@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/affs')
0 files changed, 0 insertions, 0 deletions