Date: Sun, 4 Jan 2009 11:00:16 GMT From: Jaakko Heinonen <jh@saunalahti.fi> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/119529: [ext2fs] Freezes when compiling code on mounter ext2fs partitions Message-ID: <200901041100.n04B0Gjr075849@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/119529; it has been noted by GNATS. From: Jaakko Heinonen <jh@saunalahti.fi> To: archwndas@yahoo.com Cc: bug-followup@FreeBSD.org Subject: Re: kern/119529: [ext2fs] Freezes when compiling code on mounter ext2fs partitions Date: Sun, 4 Jan 2009 12:55:12 +0200 Please see the following message and the patch below. http://lists.freebsd.org/pipermail/freebsd-fs/2009-January/005546.html --- patch begins here --- Index: sys/gnu/fs/ext2fs/ext2_bitops.h =================================================================== --- sys/gnu/fs/ext2fs/ext2_bitops.h (revision 186639) +++ sys/gnu/fs/ext2fs/ext2_bitops.h (working copy) @@ -84,7 +84,7 @@ find_next_zero_bit(void *data, size_t sz mask = ~0U << (ofs & 31); bit = *p | ~mask; if (bit != ~0U) - return (ffs(~bit) + ofs - 1); + return (ffs(~bit) + (ofs & ~31U) - 1); p++; ofs = (ofs + 31U) & ~31U; } --- patch ends here --- Does the patch fix the problem for you? -- Jaakko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901041100.n04B0Gjr075849>