aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2014-06-04 23:05:40 +0000
committerLinus Torvalds <[email protected]>2014-06-04 23:53:52 +0000
commit0a8dd2db579f7a0ac7033d6b857c3d5dbaa77563 (patch)
tree26d2c8028c7a1b619e08efe87ca17ac48cb62b98 /lib/debugobjects.c
parentfs/fscache: replace seq_printf by seq_puts (diff)
downloadkernel-0a8dd2db579f7a0ac7033d6b857c3d5dbaa77563.tar.gz
kernel-0a8dd2db579f7a0ac7033d6b857c3d5dbaa77563.zip
fanotify: FAN_MARK_FLUSH: avoid having to provide a fake/invalid fd and path
Originally from Tvrtko Ursulin (https://lkml.org/lkml/2011/1/12/112) Avoid having to provide a fake/invalid fd and path when flushing marks Currently for a group to flush marks it has set it needs to provide a fake or invalid (but resolvable) file descriptor and path when calling fanotify_mark. This patch pulls the flush handling a bit up so file descriptor and path are completely ignored when flushing. I reworked the patch to be applicable again (the signature of fanotify_mark has changed since Tvrtko's work). Signed-off-by: Heinrich Schuchardt <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Jan Kara <[email protected]> Acked-by: Eric Paris <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions