aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/inotify/inotify_fsnotify.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-17 21:24:24 -0500
committerEric Paris <eparis@redhat.com>2010-07-28 09:58:53 -0400
commitd07754412f9cdc2f4a99318d5ee81ace6715ea99 (patch)
treef62902ad420de023c0fad931d9508903a9f42e3b /fs/notify/inotify/inotify_fsnotify.c
parente61ce86737b4d60521e4e71f9892fe4bdcfb688b (diff)
fsnotify: rename fsnotify_find_mark_entry to fsnotify_find_mark
the _entry portion of fsnotify functions is useless. Drop it. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/inotify/inotify_fsnotify.c')
-rw-r--r--fs/notify/inotify/inotify_fsnotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotify/inotify_fsnotify.c
index f33a9bd32e5d..f8a2a6eda133 100644
--- a/fs/notify/inotify/inotify_fsnotify.c
+++ b/fs/notify/inotify/inotify_fsnotify.c
@@ -98,7 +98,7 @@ static int inotify_handle_event(struct fsnotify_group *group, struct fsnotify_ev
98 to_tell = event->to_tell; 98 to_tell = event->to_tell;
99 99
100 spin_lock(&to_tell->i_lock); 100 spin_lock(&to_tell->i_lock);
101 entry = fsnotify_find_mark_entry(group, to_tell); 101 entry = fsnotify_find_mark(group, to_tell);
102 spin_unlock(&to_tell->i_lock); 102 spin_unlock(&to_tell->i_lock);
103 /* race with watch removal? We already passes should_send */ 103 /* race with watch removal? We already passes should_send */
104 if (unlikely(!entry)) 104 if (unlikely(!entry))
@@ -148,7 +148,7 @@ static bool inotify_should_send_event(struct fsnotify_group *group, struct inode
148 bool send; 148 bool send;
149 149
150 spin_lock(&inode->i_lock); 150 spin_lock(&inode->i_lock);
151 entry = fsnotify_find_mark_entry(group, inode); 151 entry = fsnotify_find_mark(group, inode);
152 spin_unlock(&inode->i_lock); 152 spin_unlock(&inode->i_lock);
153 if (!entry) 153 if (!entry)
154 return false; 154 return false;