Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61597
b: refs/heads/master
c: 76fdbb2
h: refs/heads/master
i:
  61595: cdfc8b9
v: v3
  • Loading branch information
Kawai, Hidehiro authored and Linus Torvalds committed Jul 19, 2007
1 parent 8e65405 commit f187d12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86fd6dfc0990d81123dca19541554426c9e9de3e
refs/heads/master: 76fdbb25f963de5dc1e308325f0578a2f92b1c2d
6 changes: 5 additions & 1 deletion trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ static ctl_table kern_table[] = {
/* Constants for minimum and maximum testing in vm_table.
We use these as one-element integer vectors. */
static int zero;
static int two = 2;
static int one_hundred = 100;


Expand Down Expand Up @@ -1123,7 +1124,10 @@ static ctl_table fs_table[] = {
.data = &lease_break_time,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec,
.proc_handler = &proc_dointvec_minmax,
.strategy = &sysctl_intvec,
.extra1 = &zero,
.extra2 = &two,
},
{
.ctl_name = FS_AIO_NR,
Expand Down

0 comments on commit f187d12

Please sign in to comment.