git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] m68knommu: cache support for 523x/528x processors
[pandora-kernel.git]
/
kernel
/
user.c
diff --git
a/kernel/user.c
b/kernel/user.c
index
734575d
..
89e562f
100644
(file)
--- a/
kernel/user.c
+++ b/
kernel/user.c
@@
-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;