aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched/user.h')
-rw-r--r--include/linux/sched/user.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched/user.h b/include/linux/sched/user.h
index 917d88edb7b9..a8ec3b6093fc 100644
--- a/include/linux/sched/user.h
+++ b/include/linux/sched/user.h
@@ -36,6 +36,9 @@ struct user_struct {
defined(CONFIG_NET) || defined(CONFIG_IO_URING)
atomic_long_t locked_vm;
#endif
+#ifdef CONFIG_WATCH_QUEUE
+ atomic_t nr_watches; /* The number of watches this user currently has */
+#endif
/* Miscellaneous per-user rate limit */
struct ratelimit_state ratelimit;