fanotify: turn off support for FAN_DIR_MODIFY
authorAmir Goldstein <amir73il@gmail.com>
Wed, 27 May 2020 12:54:55 +0000 (15:54 +0300)
committerJan Kara <jack@suse.cz>
Wed, 27 May 2020 16:55:54 +0000 (18:55 +0200)
commitf17936993af054b16725d0c54baa58115f9e052a
tree8c0900fd6d54e2e5482eddc9e79d9a236e3dc7be
parent444fc5cde64330661bf59944c43844e7d4c2ccd8
fanotify: turn off support for FAN_DIR_MODIFY

FAN_DIR_MODIFY has been enabled by commit 44d705b0370b ("fanotify:
report name info for FAN_DIR_MODIFY event") in 5.7-rc1. Now we are
planning further extensions to the fanotify API and during that we
realized that FAN_DIR_MODIFY may behave slightly differently to be more
consistent with extensions we plan. So until we finalize these
extensions, let's not bind our hands with exposing FAN_DIR_MODIFY to
userland.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fanotify/fanotify.c
include/linux/fanotify.h