Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329040
b: refs/heads/master
c: 8aea3ff
h: refs/heads/master
v: v3
  • Loading branch information
Carlos Maiolino authored and Ben Myers committed Sep 26, 2012
1 parent 120f39c commit 80f7fbc
Show file tree
Hide file tree
Showing 2 changed files with 2 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: c3a58fecdd1934a8538ada9073107625f5151687
refs/heads/master: 8aea3ff411b2ce8fe7b46644298ed243a920eb24
2 changes: 1 addition & 1 deletion trunk/fs/xfs/xfs_ialloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ xfs_ialloc_next_ag(

spin_lock(&mp->m_agirotor_lock);
agno = mp->m_agirotor;
if (++mp->m_agirotor == mp->m_maxagi)
if (++mp->m_agirotor >= mp->m_maxagi)
mp->m_agirotor = 0;
spin_unlock(&mp->m_agirotor_lock);

Expand Down

0 comments on commit 80f7fbc

Please sign in to comment.