diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /fs/notify/inotify/inotify_user.c | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'fs/notify/inotify/inotify_user.c')
| -rw-r--r-- | fs/notify/inotify/inotify_user.c | 10 | 
1 files changed, 7 insertions, 3 deletions
| diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index ef32f3657958..1cf5b779d862 100644 --- a/fs/notify/inotify/inotify_user.c +++ b/fs/notify/inotify/inotify_user.c @@ -485,10 +485,14 @@ void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,  				    struct fsnotify_group *group)  {  	struct inotify_inode_mark *i_mark; +	struct fsnotify_iter_info iter_info = { }; + +	fsnotify_iter_set_report_type_mark(&iter_info, FSNOTIFY_OBJ_TYPE_INODE, +					   fsn_mark);  	/* Queue ignore event for the watch */ -	inotify_handle_event(group, NULL, fsn_mark, NULL, FS_IN_IGNORED, -			     NULL, FSNOTIFY_EVENT_NONE, NULL, 0, NULL); +	inotify_handle_event(group, NULL, FS_IN_IGNORED, NULL, +			     FSNOTIFY_EVENT_NONE, NULL, 0, &iter_info);  	i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark);  	/* remove this mark from the idr */ @@ -578,7 +582,7 @@ static int inotify_new_watch(struct fsnotify_group *group,  	}  	/* we are on the idr, now get on the inode */ -	ret = fsnotify_add_mark_locked(&tmp_i_mark->fsn_mark, inode, NULL, 0); +	ret = fsnotify_add_inode_mark_locked(&tmp_i_mark->fsn_mark, inode, 0);  	if (ret) {  		/* we failed to get on the inode, get off the idr */  		inotify_remove_from_idr(group, tmp_i_mark); |