fsnotify: Move locking into fsnotify_recalc_mask()
Move locking of locks protecting a list of marks into fsnotify_recalc_mask(). This reduces code churn in the following patch which changes the lock protecting the list of marks. Reviewed-by: Miklos Szeredi <mszeredi@redhat.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
这个提交包含在:
@@ -69,8 +69,7 @@ static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark)
|
||||
if (old_mask == new_mask)
|
||||
return;
|
||||
|
||||
if (fsn_mark->connector)
|
||||
fsnotify_recalc_inode_mask(fsn_mark->connector->inode);
|
||||
fsnotify_recalc_mask(fsn_mark->connector);
|
||||
}
|
||||
|
||||
/*
|
||||
|
在新工单中引用
屏蔽一个用户