diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-17 21:24:24 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:53 -0400 |
commit | e61ce86737b4d60521e4e71f9892fe4bdcfb688b (patch) | |
tree | a1aba411504ac028d4ead6f28ca05bd024c74142 /fs/notify/group.c | |
parent | 72acc854427948efed7a83da27f7dc3239ac9afc (diff) |
fsnotify: rename fsnotify_mark_entry to just fsnotify_mark
The name is long and it serves no real purpose. So rename
fsnotify_mark_entry to just fsnotify_mark.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/group.c')
-rw-r--r-- | fs/notify/group.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/notify/group.c b/fs/notify/group.c index aa4654fe6ec2..b70e7d21dfde 100644 --- a/fs/notify/group.c +++ b/fs/notify/group.c | |||
@@ -74,10 +74,10 @@ void fsnotify_recalc_group_mask(struct fsnotify_group *group) | |||
74 | { | 74 | { |
75 | __u32 mask = 0; | 75 | __u32 mask = 0; |
76 | __u32 old_mask = group->mask; | 76 | __u32 old_mask = group->mask; |
77 | struct fsnotify_mark_entry *entry; | 77 | struct fsnotify_mark *entry; |
78 | 78 | ||
79 | spin_lock(&group->mark_lock); | 79 | spin_lock(&group->mark_lock); |
80 | list_for_each_entry(entry, &group->mark_entries, g_list) | 80 | list_for_each_entry(entry, &group->marks_list, g_list) |
81 | mask |= entry->mask; | 81 | mask |= entry->mask; |
82 | spin_unlock(&group->mark_lock); | 82 | spin_unlock(&group->mark_lock); |
83 | 83 | ||
@@ -133,7 +133,7 @@ void fsnotify_final_destroy_group(struct fsnotify_group *group) | |||
133 | */ | 133 | */ |
134 | static void fsnotify_destroy_group(struct fsnotify_group *group) | 134 | static void fsnotify_destroy_group(struct fsnotify_group *group) |
135 | { | 135 | { |
136 | /* clear all inode mark entries for this group */ | 136 | /* clear all inode marks for this group */ |
137 | fsnotify_clear_marks_by_group(group); | 137 | fsnotify_clear_marks_by_group(group); |
138 | 138 | ||
139 | /* past the point of no return, matches the initial value of 1 */ | 139 | /* past the point of no return, matches the initial value of 1 */ |
@@ -224,7 +224,7 @@ struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops) | |||
224 | INIT_LIST_HEAD(&group->vfsmount_group_list); | 224 | INIT_LIST_HEAD(&group->vfsmount_group_list); |
225 | 225 | ||
226 | spin_lock_init(&group->mark_lock); | 226 | spin_lock_init(&group->mark_lock); |
227 | INIT_LIST_HEAD(&group->mark_entries); | 227 | INIT_LIST_HEAD(&group->marks_list); |
228 | 228 | ||
229 | group->ops = ops; | 229 | group->ops = ops; |
230 | 230 | ||