]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fanotify: create FAN_ACCESS event for readdir
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 22 May 2014 00:42:25 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:42:25 +0000 (10:42 +1000)
commit6435a269cce3d00207c38c0b2e08679f4496b576
tree1963d70babe9fda371115b65f15813713dac914b
parentaedca08d0f9d3437ec9766ce13b5991c78173dd7
fanotify: create FAN_ACCESS event for readdir

Before the patch,
read creates FAN_ACCESS_PERM and FAN_ACCESS events,
readdir creates only FAN_ACCESS_PERM events.

This is inconsistent.

After the patch,
readdir creates FAN_ACCESS_PERM and FAN_ACCESS events.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/readdir.c