]> git.baikalelectronics.ru Git - kernel.git/commit
fsnotify: simplify arguments passing to fsnotify_parent()
authorAmir Goldstein <amir73il@gmail.com>
Thu, 19 Mar 2020 15:10:13 +0000 (17:10 +0200)
committerJan Kara <jack@suse.cz>
Mon, 23 Mar 2020 17:22:48 +0000 (18:22 +0100)
commit35f8bf037c88ff15a44fa9d282da9dd95cadef6f
tree1d3239348d222158877b54fbb7eed4894bf8c163
parent28c5cd8e2285e4f70cf4cc44ca1ad3c600d68bc2
fsnotify: simplify arguments passing to fsnotify_parent()

Instead of passing both dentry and path and having to figure out which
one to use, pass data/data_type to simplify the code.

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