]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fanotify: create FAN_ACCESS event for readdir
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 24 Apr 2014 22:55:27 +0000 (08:55 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 24 Apr 2014 22:55:27 +0000 (08:55 +1000)
commit261dcd4613c76674f14e2b753af36ea41042e1be
tree61e44e5e4f8dd4f0ef7fac9622badbb7518927c0
parent47dcd7743d768ac8544be0a844681709fcc82d70
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