|
@@ -28,6 +28,7 @@
|
|
|
#include <linux/path.h> /* struct path */
|
|
|
#include <linux/slab.h> /* kmem_* */
|
|
|
#include <linux/types.h>
|
|
|
+#include <linux/sched.h>
|
|
|
|
|
|
#include "inotify.h"
|
|
|
|
|
@@ -146,6 +147,7 @@ static void inotify_free_group_priv(struct fsnotify_group *group)
|
|
|
idr_for_each(&group->inotify_data.idr, idr_callback, group);
|
|
|
idr_remove_all(&group->inotify_data.idr);
|
|
|
idr_destroy(&group->inotify_data.idr);
|
|
|
+ free_uid(group->inotify_data.user);
|
|
|
}
|
|
|
|
|
|
void inotify_free_event_priv(struct fsnotify_event_private_data *fsn_event_priv)
|