git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
quota: Acquire dqio_sem for reading in dquot_get_next_id()
[sfrench/cifs-2.6.git]
/
fs
/
xfs
/
xfs_qm.c
diff --git
a/fs/xfs/xfs_qm.c
b/fs/xfs/xfs_qm.c
index 6ce948c436d5f37029d49c2a1e974a5c75baed37..15751dc2a27df04a4608754ff8250de6ae8bd77f 100644
(file)
--- a/
fs/xfs/xfs_qm.c
+++ b/
fs/xfs/xfs_qm.c
@@
-111,6
+111,9
@@
restart:
skipped = 0;
break;
}
+ /* we're done if id overflows back to zero */
+ if (!next_index)
+ break;
}
if (skipped) {