@@ -96,7 +96,7 @@ static int dnotify_handle_event(struct fsnotify_group *group,
9696 to_tell = event -> to_tell ;
9797
9898 spin_lock (& to_tell -> i_lock );
99- entry = fsnotify_find_mark_entry (group , to_tell );
99+ entry = fsnotify_find_mark (group , to_tell );
100100 spin_unlock (& to_tell -> i_lock );
101101
102102 /* unlikely since we alreay passed dnotify_should_send_event() */
@@ -148,7 +148,7 @@ static bool dnotify_should_send_event(struct fsnotify_group *group,
148148 return false;
149149
150150 spin_lock (& inode -> i_lock );
151- entry = fsnotify_find_mark_entry (group , inode );
151+ entry = fsnotify_find_mark (group , inode );
152152 spin_unlock (& inode -> i_lock );
153153
154154 /* no mark means no dnotify watch */
@@ -158,7 +158,7 @@ static bool dnotify_should_send_event(struct fsnotify_group *group,
158158 mask = (mask & ~FS_EVENT_ON_CHILD );
159159 send = (mask & entry -> mask );
160160
161- fsnotify_put_mark (entry ); /* matches fsnotify_find_mark_entry */
161+ fsnotify_put_mark (entry ); /* matches fsnotify_find_mark */
162162
163163 return send ;
164164}
@@ -202,7 +202,7 @@ void dnotify_flush(struct file *filp, fl_owner_t id)
202202 return ;
203203
204204 spin_lock (& inode -> i_lock );
205- entry = fsnotify_find_mark_entry (dnotify_group , inode );
205+ entry = fsnotify_find_mark (dnotify_group , inode );
206206 spin_unlock (& inode -> i_lock );
207207 if (!entry )
208208 return ;
@@ -226,7 +226,7 @@ void dnotify_flush(struct file *filp, fl_owner_t id)
226226
227227 /* nothing else could have found us thanks to the dnotify_mark_mutex */
228228 if (dnentry -> dn == NULL )
229- fsnotify_destroy_mark_by_entry (entry );
229+ fsnotify_destroy_mark (entry );
230230
231231 fsnotify_recalc_group_mask (dnotify_group );
232232
@@ -357,7 +357,7 @@ int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg)
357357
358358 /* add the new_entry or find an old one. */
359359 spin_lock (& inode -> i_lock );
360- entry = fsnotify_find_mark_entry (dnotify_group , inode );
360+ entry = fsnotify_find_mark (dnotify_group , inode );
361361 spin_unlock (& inode -> i_lock );
362362 if (entry ) {
363363 dnentry = container_of (entry , struct dnotify_mark_entry , fsn_entry );
@@ -414,7 +414,7 @@ int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg)
414414 spin_unlock (& entry -> lock );
415415
416416 if (destroy )
417- fsnotify_destroy_mark_by_entry (entry );
417+ fsnotify_destroy_mark (entry );
418418
419419 fsnotify_recalc_group_mask (dnotify_group );
420420
0 commit comments