diff options
Diffstat (limited to 'fs/notify/inotify/inotify_user.c')
-rw-r--r-- | fs/notify/inotify/inotify_user.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index 7be5dcf07ac7..118085c9d2d9 100644 --- a/fs/notify/inotify/inotify_user.c +++ b/fs/notify/inotify/inotify_user.c | |||
@@ -567,7 +567,7 @@ static int inotify_update_existing_watch(struct fsnotify_group *group, | |||
567 | return -EINVAL; | 567 | return -EINVAL; |
568 | 568 | ||
569 | spin_lock(&inode->i_lock); | 569 | spin_lock(&inode->i_lock); |
570 | entry = fsnotify_find_mark_entry(group, inode); | 570 | entry = fsnotify_find_mark(group, inode); |
571 | spin_unlock(&inode->i_lock); | 571 | spin_unlock(&inode->i_lock); |
572 | if (!entry) | 572 | if (!entry) |
573 | return -ENOENT; | 573 | return -ENOENT; |
@@ -607,7 +607,7 @@ static int inotify_update_existing_watch(struct fsnotify_group *group, | |||
607 | /* return the wd */ | 607 | /* return the wd */ |
608 | ret = ientry->wd; | 608 | ret = ientry->wd; |
609 | 609 | ||
610 | /* match the get from fsnotify_find_mark_entry() */ | 610 | /* match the get from fsnotify_find_mark() */ |
611 | fsnotify_put_mark(entry); | 611 | fsnotify_put_mark(entry); |
612 | 612 | ||
613 | return ret; | 613 | return ret; |
@@ -823,7 +823,7 @@ SYSCALL_DEFINE2(inotify_rm_watch, int, fd, __s32, wd) | |||
823 | 823 | ||
824 | ret = 0; | 824 | ret = 0; |
825 | 825 | ||
826 | fsnotify_destroy_mark_by_entry(&ientry->fsn_entry); | 826 | fsnotify_destroy_mark(&ientry->fsn_entry); |
827 | 827 | ||
828 | /* match ref taken by inotify_idr_find */ | 828 | /* match ref taken by inotify_idr_find */ |
829 | fsnotify_put_mark(&ientry->fsn_entry); | 829 | fsnotify_put_mark(&ientry->fsn_entry); |