Module Name: src Committed By: rmind Date: Sun Mar 6 04:46:27 UTC 2011
Modified Files: src/sys/ufs/ext2fs: ext2fs_alloc.c src/sys/ufs/ffs: ffs_alloc.c Log Message: {ffs_nodealloccg,ext2fs_nodealloccg,ext2fs_mapsearch}: use XOR and ffs() to find free bits in the inode and block bitmaps, instead of the loop. Obtained from FreeBSD (changes by jhb). To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/ufs/ext2fs/ext2fs_alloc.c cvs rdiff -u -r1.125 -r1.126 src/sys/ufs/ffs/ffs_alloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.