Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272156
b: refs/heads/master
c: 3f38099
h: refs/heads/master
v: v3
  • Loading branch information
Kautuk Consul authored and Linus Torvalds committed Nov 1, 2011
1 parent 3aaa603 commit 0c6e516
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 4e9dc5df46001510ebd3b3e54faa650f474e51a3
refs/heads/master: 3f380998aeb51b99d5d22cadb41162e1e9db70d2
4 changes: 2 additions & 2 deletions trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -3520,8 +3520,8 @@ static ssize_t write_scan_unevictable_node(struct sys_device *dev,
unsigned long res;
unsigned long req = strict_strtoul(buf, 10, &res);

if (!req)
return 1; /* zero is no-op */
if (req || !res)
return 1; /* Invalid input or zero is no-op */

for (zone = node_zones; zone - node_zones < MAX_NR_ZONES; ++zone) {
if (!populated_zone(zone))
Expand Down

0 comments on commit 0c6e516

Please sign in to comment.