Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288529
b: refs/heads/master
c: 93dc610
h: refs/heads/master
i:
  288527: 19f01ef
v: v3
  • Loading branch information
Jason Baron authored and Linus Torvalds committed Mar 18, 2012
1 parent 9332d07 commit ccbcacd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c579bc7e316e7e3f3b56df5e17f623325caa9783
refs/heads/master: 93dc6107a76daed81c07f50215fa6ae77691634f
4 changes: 4 additions & 0 deletions trunk/fs/eventpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,10 @@ static int path_count[PATH_ARR_SIZE];

static int path_count_inc(int nests)
{
/* Allow an arbitrary number of depth 1 paths */
if (nests == 0)
return 0;

if (++path_count[nests] > path_limits[nests])
return -1;
return 0;
Expand Down

0 comments on commit ccbcacd

Please sign in to comment.