fanotify: prepare to report both parent and child fid's
authorAmir Goldstein <amir73il@gmail.com>
Thu, 19 Mar 2020 15:10:20 +0000 (17:10 +0200)
committerJan Kara <jack@suse.cz>
Wed, 25 Mar 2020 09:27:16 +0000 (10:27 +0100)
commitd766b553615ce67f33848ec4f6672b3158198a5c
treeb31a94aea1331aac0a875edc646d6b7c5955e567
parent9e2ba2c34f1922ca1e0c7d31b30ace5842c2e7d1
fanotify: prepare to report both parent and child fid's

For some events, we are going to report both child and parent fid's,
so pass fsid and file handle as arguments to copy_fid_to_user(),
which is going to be called with parent and child file handles.

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