inotify: do not use objectid when comparing events
authorAmir Goldstein <amir73il@gmail.com>
Wed, 8 Jul 2020 11:11:41 +0000 (14:11 +0300)
committerJan Kara <jack@suse.cz>
Wed, 15 Jul 2020 15:36:58 +0000 (17:36 +0200)
commit956235afd145e60094642fca83486c0f3ccaca16
tree4dd593b6a9c7de4f4ab24f53b1d428abc7c0ebf6
parent9991bb84b27a2594187898f261866cfc50255454
inotify: do not use objectid when comparing events

inotify's event->wd is the object identifier.
Compare that instead of the common fsnotidy event objectid, so
we can get rid of the objectid field later.

Link: https://lore.kernel.org/r/20200708111156.24659-6-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/inotify/inotify_fsnotify.c