diff options
| author | Eric Paris <eparis@redhat.com> | 2009-12-17 21:24:22 -0500 | 
|---|---|---|
| committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:50 -0400 | 
| commit | ffab83402f01555a5fa32efb48a4dd0ce8d12ef5 (patch) | |
| tree | 4e02fa7422becb56e6ed4b8721f8b0fb3a867d44 /include/linux/fsnotify_backend.h | |
| parent | cd7752ce7cac5184ca35aecebffafae9662570bc (diff) | |
fsnotify: fsnotify_obtain_group should be fsnotify_alloc_group
fsnotify_obtain_group was intended to be able to find an already existing
group.  Nothing uses that functionality.  This just renames it to
fsnotify_alloc_group so it is clear what it is doing.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/linux/fsnotify_backend.h')
| -rw-r--r-- | include/linux/fsnotify_backend.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index 57e503d017c8..7d3c03e46862 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h  | |||
| @@ -305,11 +305,11 @@ static inline void __fsnotify_d_instantiate(struct dentry *dentry, struct inode | |||
| 305 | /* must call when a group changes its ->mask */ | 305 | /* must call when a group changes its ->mask */ | 
| 306 | extern void fsnotify_recalc_global_mask(void); | 306 | extern void fsnotify_recalc_global_mask(void); | 
| 307 | /* get a reference to an existing or create a new group */ | 307 | /* get a reference to an existing or create a new group */ | 
| 308 | extern struct fsnotify_group *fsnotify_obtain_group(__u32 mask, | 308 | extern struct fsnotify_group *fsnotify_alloc_group(__u32 mask, | 
| 309 | const struct fsnotify_ops *ops); | 309 | const struct fsnotify_ops *ops); | 
| 310 | /* run all marks associated with this group and update group->mask */ | 310 | /* run all marks associated with this group and update group->mask */ | 
| 311 | extern void fsnotify_recalc_group_mask(struct fsnotify_group *group); | 311 | extern void fsnotify_recalc_group_mask(struct fsnotify_group *group); | 
| 312 | /* drop reference on a group from fsnotify_obtain_group */ | 312 | /* drop reference on a group from fsnotify_alloc_group */ | 
| 313 | extern void fsnotify_put_group(struct fsnotify_group *group); | 313 | extern void fsnotify_put_group(struct fsnotify_group *group); | 
| 314 | 314 | ||
| 315 | /* take a reference to an event */ | 315 | /* take a reference to an event */ | 
