[PATCH] m68knommu: cache support for 523x/528x processors
[pandora-kernel.git] / kernel / user.c
index 734575d..89e562f 100644 (file)
@@ -120,6 +120,10 @@ struct user_struct * alloc_uid(uid_t uid)
                atomic_set(&new->processes, 0);
                atomic_set(&new->files, 0);
                atomic_set(&new->sigpending, 0);
+#ifdef CONFIG_INOTIFY
+               atomic_set(&new->inotify_watches, 0);
+               atomic_set(&new->inotify_devs, 0);
+#endif
 
                new->mq_bytes = 0;
                new->locked_shm = 0;