diff options
| author | 2005-08-29 16:12:36 -0400 | |
|---|---|---|
| committer | 2005-08-29 16:12:36 -0400 | |
| commit | 2fca877b68b2b4fc5b94277858a1bedd46017cde (patch) | |
| tree | fd02725406299ba2f26354463b3c261721e9eb6b /kernel/user.c | |
| parent | Merge upstream kernel changes into 'C/H/S support' branch of libata. (diff) | |
| parent | Linux v2.6.13 (diff) | |
| download | linux-dev-2fca877b68b2b4fc5b94277858a1bedd46017cde.tar.xz linux-dev-2fca877b68b2b4fc5b94277858a1bedd46017cde.zip | |
/spare/repo/libata-dev branch 'v2.6.13'
Diffstat (limited to 'kernel/user.c')
| -rw-r--r-- | kernel/user.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/user.c b/kernel/user.c index 734575d55769..89e562feb1b1 100644 --- 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; |
