fanotify: record old and new parent and name in FAN_RENAME event
authorAmir Goldstein <amir73il@gmail.com>
Mon, 29 Nov 2021 20:15:34 +0000 (22:15 +0200)
committerJan Kara <jack@suse.cz>
Wed, 15 Dec 2021 13:04:56 +0000 (14:04 +0100)
commit3982534ba5ce45e890b2f5ef5e7372c1accd14c7
treedfc99552f7b8fac5cc7b441d9f889799b0c71bea
parent3cf984e950c1c3f41d407ed31db33beb996be132
fanotify: record old and new parent and name in FAN_RENAME event

In the special case of FAN_RENAME event, we record both the old
and new parent and name.

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