Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139707
b: refs/heads/master
c: 8e654fb
h: refs/heads/master
i:
  139705: 9c32606
  139703: 71c1c10
v: v3
  • Loading branch information
Matthew Wilcox authored and Linus Torvalds committed Apr 3, 2009
1 parent 2139cca commit 904ee6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 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: 303d379c54fc9ed553562e36c1cbd1791a3f5d17
refs/heads/master: 8e654fba4a376f436bdfe361fc5cdbc87ac09b35
15 changes: 6 additions & 9 deletions trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,9 @@ static int sixty = 60;
static int neg_one = -1;
#endif

#if defined(CONFIG_MMU) && defined(CONFIG_FILE_LOCKING)
static int two = 2;
#endif

static int zero;
static int one = 1;
static int two = 2;
static unsigned long one_ul = 1;
static int one_hundred = 100;

Expand Down Expand Up @@ -1373,10 +1370,7 @@ static struct ctl_table fs_table[] = {
.data = &lease_break_time,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_minmax,
.strategy = &sysctl_intvec,
.extra1 = &zero,
.extra2 = &two,
.proc_handler = &proc_dointvec,
},
#endif
#ifdef CONFIG_AIO
Expand Down Expand Up @@ -1417,7 +1411,10 @@ static struct ctl_table fs_table[] = {
.data = &suid_dumpable,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec,
.proc_handler = &proc_dointvec_minmax,
.strategy = &sysctl_intvec,
.extra1 = &zero,
.extra2 = &two,
},
#if defined(CONFIG_BINFMT_MISC) || defined(CONFIG_BINFMT_MISC_MODULE)
{
Expand Down

0 comments on commit 904ee6f

Please sign in to comment.