diff options
| -rw-r--r-- | fs/notify/inotify/inotify_fsnotify.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotify/inotify_fsnotify.c index 1afb0a10229f..e27960cd76ab 100644 --- a/fs/notify/inotify/inotify_fsnotify.c +++ b/fs/notify/inotify/inotify_fsnotify.c | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | #include <linux/path.h> /* struct path */ | 28 | #include <linux/path.h> /* struct path */ |
| 29 | #include <linux/slab.h> /* kmem_* */ | 29 | #include <linux/slab.h> /* kmem_* */ |
| 30 | #include <linux/types.h> | 30 | #include <linux/types.h> |
| 31 | #include <linux/sched.h> | ||
| 31 | 32 | ||
| 32 | #include "inotify.h" | 33 | #include "inotify.h" |
| 33 | 34 | ||
| @@ -146,6 +147,7 @@ static void inotify_free_group_priv(struct fsnotify_group *group) | |||
| 146 | idr_for_each(&group->inotify_data.idr, idr_callback, group); | 147 | idr_for_each(&group->inotify_data.idr, idr_callback, group); |
| 147 | idr_remove_all(&group->inotify_data.idr); | 148 | idr_remove_all(&group->inotify_data.idr); |
| 148 | idr_destroy(&group->inotify_data.idr); | 149 | idr_destroy(&group->inotify_data.idr); |
| 150 | free_uid(group->inotify_data.user); | ||
| 149 | } | 151 | } |
| 150 | 152 | ||
| 151 | void inotify_free_event_priv(struct fsnotify_event_private_data *fsn_event_priv) | 153 | void inotify_free_event_priv(struct fsnotify_event_private_data *fsn_event_priv) |
