diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-17 21:24:23 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:51 -0400 |
commit | 19c2a0e1a2f60112c158342ba5f568f72b741c2c (patch) | |
tree | 807520e66657e25420389c376cccaf5ca283f346 /include/linux/fsnotify_backend.h | |
parent | 0d2e2a1d00d7d23e5bd9bb0935cde7c3d5835c56 (diff) |
fsnotify: rename fsnotify_groups to fsnotify_inode_groups
Simple renaming patch. fsnotify is about to support mount point listeners
so I am renaming fsnotify_groups and fsnotify_mask to indicate these are lists
used only for groups which have watches on inodes.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/linux/fsnotify_backend.h')
-rw-r--r-- | include/linux/fsnotify_backend.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index 58326049ab29..21079ade5620 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h | |||
@@ -95,10 +95,10 @@ struct fsnotify_ops { | |||
95 | struct fsnotify_group { | 95 | struct fsnotify_group { |
96 | /* | 96 | /* |
97 | * global list of all groups receiving events from fsnotify. | 97 | * global list of all groups receiving events from fsnotify. |
98 | * anchored by fsnotify_groups and protected by either fsnotify_grp_mutex | 98 | * anchored by fsnotify_inode_groups and protected by either fsnotify_grp_mutex |
99 | * or fsnotify_grp_srcu depending on write vs read. | 99 | * or fsnotify_grp_srcu depending on write vs read. |
100 | */ | 100 | */ |
101 | struct list_head group_list; | 101 | struct list_head inode_group_list; |
102 | 102 | ||
103 | /* | 103 | /* |
104 | * Defines all of the event types in which this group is interested. | 104 | * Defines all of the event types in which this group is interested. |
@@ -136,7 +136,7 @@ struct fsnotify_group { | |||
136 | struct list_head mark_entries; /* all inode mark entries for this group */ | 136 | struct list_head mark_entries; /* all inode mark entries for this group */ |
137 | 137 | ||
138 | /* prevents double list_del of group_list. protected by global fsnotify_grp_mutex */ | 138 | /* prevents double list_del of group_list. protected by global fsnotify_grp_mutex */ |
139 | bool on_group_list; | 139 | bool on_inode_group_list; |
140 | 140 | ||
141 | /* groups can define private fields here or use the void *private */ | 141 | /* groups can define private fields here or use the void *private */ |
142 | union { | 142 | union { |