Re: [PATCH v2 1/7] fsnotify: clean up fsnotify_prepare/finish_user_wait()

2017-10-25 Thread Miklos Szeredi
On Wed, Oct 25, 2017 at 2:07 PM, Amir Goldstein wrote: >>> -bool fsnotify_prepare_user_wait(struct fsnotify_iter_info *iter_info) >>> +/* >>> + * Get mark reference when we found the mark via lockless traversal of >>> object >>> + * list. Mark can be already removed from the list by now and on i

Re: [PATCH v2 1/7] fsnotify: clean up fsnotify_prepare/finish_user_wait()

2017-10-25 Thread Amir Goldstein
On Wed, Oct 25, 2017 at 3:06 PM, Amir Goldstein wrote: > On Wed, Oct 25, 2017 at 11:41 AM, Miklos Szeredi wrote: >> This patch doesn't actually fix any bug, just paves the way for fixing mark >> and group pinning. >> >> Signed-off-by: Miklos Szeredi >> Cc: # v4.12 >> --- >> fs/notify/mark.c |

Re: [PATCH v2 1/7] fsnotify: clean up fsnotify_prepare/finish_user_wait()

2017-10-25 Thread Amir Goldstein
On Wed, Oct 25, 2017 at 11:41 AM, Miklos Szeredi wrote: > This patch doesn't actually fix any bug, just paves the way for fixing mark > and group pinning. > > Signed-off-by: Miklos Szeredi > Cc: # v4.12 > --- > fs/notify/mark.c | 89 > ++-- >

[PATCH v2 1/7] fsnotify: clean up fsnotify_prepare/finish_user_wait()

2017-10-25 Thread Miklos Szeredi
This patch doesn't actually fix any bug, just paves the way for fixing mark and group pinning. Signed-off-by: Miklos Szeredi Cc: # v4.12 --- fs/notify/mark.c | 89 ++-- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/fs/notify/