diff options
author | Jan Kara <jack@suse.cz> | 2017-03-14 14:29:35 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-04-10 17:37:35 +0200 |
commit | 86ffe245c430f07f95d5d28d3b694ea72f4492e7 (patch) | |
tree | 91f46db0135cc58cfb5dd1114962bc4781c456fe /fs/notify/dnotify | |
parent | 9dd813c15b2c101168808d4f5941a29985758973 (diff) | |
download | linux-stable-86ffe245c430f07f95d5d28d3b694ea72f4492e7.tar.gz linux-stable-86ffe245c430f07f95d5d28d3b694ea72f4492e7.tar.bz2 linux-stable-86ffe245c430f07f95d5d28d3b694ea72f4492e7.zip |
fsnotify: Move object pointer to fsnotify_mark_connector
Move pointer to inode / vfsmount from mark itself to the
fsnotify_mark_connector structure. This is another step on the path
towards decoupling inode / vfsmount lifetime from notification mark
lifetime.
Reviewed-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/dnotify')
-rw-r--r-- | fs/notify/dnotify/dnotify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/notify/dnotify/dnotify.c b/fs/notify/dnotify/dnotify.c index 5a4ec309e283..5024729dba23 100644 --- a/fs/notify/dnotify/dnotify.c +++ b/fs/notify/dnotify/dnotify.c @@ -69,8 +69,8 @@ static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark) if (old_mask == new_mask) return; - if (fsn_mark->inode) - fsnotify_recalc_inode_mask(fsn_mark->inode); + if (fsn_mark->connector) + fsnotify_recalc_inode_mask(fsn_mark->connector->inode); } /* |