diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-22 13:24:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-22 13:24:03 -0500 |
commit | eadee0ce6fd33defe449c97e671bf83fa230b5de (patch) | |
tree | c159a1cb09accfac1f351ce4fca24ccef9777245 /include/linux/sched.h | |
parent | 6fb11e6508eac9d2e01ba748fc13afdd657224ab (diff) | |
parent | 117aa41e8020fe493bbb677ebe828c3a4b380185 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull more vfs updates from Al Viro:
"Embarrassing braino fix + pipe page accounting + fixing an eyesore in
find_filesystem() (checking that s1 is equal to prefix of s2 of given
length can be done in many ways, but "compare strlen(s1) with length
and then do strncmp()" is not a good one...)"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
[regression] fix braino in fs/dlm/user.c
pipe: limit the per-user amount of pages allocated in pipes
find_filesystem(): simplify comparison
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index f1e81e128592..a10494a94cc3 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -835,6 +835,7 @@ struct user_struct { | |||
835 | #endif | 835 | #endif |
836 | unsigned long locked_shm; /* How many pages of mlocked shm ? */ | 836 | unsigned long locked_shm; /* How many pages of mlocked shm ? */ |
837 | unsigned long unix_inflight; /* How many files in flight in unix sockets */ | 837 | unsigned long unix_inflight; /* How many files in flight in unix sockets */ |
838 | atomic_long_t pipe_bufs; /* how many pages are allocated in pipe buffers */ | ||
838 | 839 | ||
839 | #ifdef CONFIG_KEYS | 840 | #ifdef CONFIG_KEYS |
840 | struct key *uid_keyring; /* UID specific keyring */ | 841 | struct key *uid_keyring; /* UID specific keyring */ |