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 /kernel/sysctl.c | |
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 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 91420362e0b3..97715fd9e790 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -1757,6 +1757,20 @@ static struct ctl_table fs_table[] = { | |||
1757 | .proc_handler = &pipe_proc_fn, | 1757 | .proc_handler = &pipe_proc_fn, |
1758 | .extra1 = &pipe_min_size, | 1758 | .extra1 = &pipe_min_size, |
1759 | }, | 1759 | }, |
1760 | { | ||
1761 | .procname = "pipe-user-pages-hard", | ||
1762 | .data = &pipe_user_pages_hard, | ||
1763 | .maxlen = sizeof(pipe_user_pages_hard), | ||
1764 | .mode = 0644, | ||
1765 | .proc_handler = proc_doulongvec_minmax, | ||
1766 | }, | ||
1767 | { | ||
1768 | .procname = "pipe-user-pages-soft", | ||
1769 | .data = &pipe_user_pages_soft, | ||
1770 | .maxlen = sizeof(pipe_user_pages_soft), | ||
1771 | .mode = 0644, | ||
1772 | .proc_handler = proc_doulongvec_minmax, | ||
1773 | }, | ||
1760 | { } | 1774 | { } |
1761 | }; | 1775 | }; |
1762 | 1776 | ||