summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-05-26 04:05:18 +0000
committerroot <root>2011-05-26 04:05:18 +0000
commitc6c5c572c13d73f95ae3201fb15f3790a6a14fb3 (patch)
treee19739e64a8deece6847e8a37f5b2bb5bc34d6d4
parente40c96e8149713855ee3ea599b09ded22aaaf8d1 (diff)
*** empty log message ***rel-3_9
-rw-r--r--eio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/eio.c b/eio.c
index 2123996..5edc858 100644
--- a/eio.c
+++ b/eio.c
@@ -1281,7 +1281,6 @@ eio__scandir (eio_req *req, etp_worker *self)
/* now partition dirs to the front, and non-dirs to the back */
/* by walking from both sides and swapping if necessary */
- /* also clear score, so it doesn't influence sorting */
while (oth > dir)
{
if (dir->type == EIO_DT_DIR)
@@ -1294,7 +1293,7 @@ eio__scandir (eio_req *req, etp_worker *self)
}
}
- /* now sort the dirs only */
+ /* now sort the dirs only (dirs all have the same score) */
eio_dent_sort (dents, dir - dents, 0, inode_bits);
}