fanotify: support secondary dir fh and name in fanotify_info
authorAmir Goldstein <amir73il@gmail.com>
Mon, 29 Nov 2021 20:15:33 +0000 (22:15 +0200)
committerJan Kara <jack@suse.cz>
Wed, 15 Dec 2021 13:04:38 +0000 (14:04 +0100)
commit3cf984e950c1c3f41d407ed31db33beb996be132
tree1ced709be02249a601febd0ed44a160592101a4c
parent1a9515ac9e55e68d733bab81bd408463ab1e25b1
fanotify: support secondary dir fh and name in fanotify_info

Allow storing a secondary dir fh and name tupple in fanotify_info.
This will be used to store the new parent and name information in
FAN_RENAME event.

Link: https://lore.kernel.org/r/20211129201537.1932819-8-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fanotify/fanotify.c
fs/notify/fanotify/fanotify.h
fs/notify/fanotify/fanotify_user.c