PERFORCE change 165294 for review
Aditya Sarawgi
truncs at FreeBSD.org
Fri Jun 26 21:33:28 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=165294
Change 165294 by truncs at aditya on 2009/06/26 21:32:50
The comment was slightly misleading.
Affected files ...
.. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_alloc.c#18 edit
Differences ...
==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_alloc.c#18 (text+ko) ====
@@ -378,8 +378,9 @@
if (fs->e2fs->e2fs_ficount == 0)
goto noinodes;
/*
- * If it is a directory then obtain a cylinder group based on ext2_dirpref
- * else the preferred inode is the next inode.
+ * If it is a directory then obtain a cylinder group based on ext2_dirpref
+ * else obtain it using ino_to_cg. The preferred inode is always the next
+ * inode.
*/
if((mode & IFMT) == IFDIR)
cg = ext2_dirpref(fs);
More information about the p4-projects
mailing list