diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/notify/group.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/notify/group.c b/fs/notify/group.c index cfda328c3d11..1d57c35f1043 100644 --- a/fs/notify/group.c +++ b/fs/notify/group.c | |||
@@ -63,6 +63,14 @@ void fsnotify_destroy_group(struct fsnotify_group *group) | |||
63 | } | 63 | } |
64 | 64 | ||
65 | /* | 65 | /* |
66 | * Get reference to a group. | ||
67 | */ | ||
68 | void fsnotify_get_group(struct fsnotify_group *group) | ||
69 | { | ||
70 | atomic_inc(&group->refcnt); | ||
71 | } | ||
72 | |||
73 | /* | ||
66 | * Drop a reference to a group. Free it if it's through. | 74 | * Drop a reference to a group. Free it if it's through. |
67 | */ | 75 | */ |
68 | void fsnotify_put_group(struct fsnotify_group *group) | 76 | void fsnotify_put_group(struct fsnotify_group *group) |