Date: Fri, 20 Jun 2003 07:52:52 -0700 (PDT) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/ntfs ntfs_subr.c Message-ID: <200306201452.h5KEqqh3054891@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2003/06/20 07:52:52 PDT FreeBSD src repository Modified files: sys/fs/ntfs ntfs_subr.c Log: Merge from NetBSD src/sys/ntfs/ntfs_subr.c 1.5 & 1.30 (jdolecek): - Avoid calling bread() with different sizes on the same blkno. Although the buffer cache is designed to handle differing size buffers, it erroneously tries to write the incorrectly-sized buffer buffer back to disk before reading the correctly-sized one, even when it's not dirty. This behaviour caused a panic for read-only NTFS mounts when INVARIANTS was enabled ("bundirty: buffer x still on queue y"), reported by NAKAJI Hiroyuki. - Fix a bug in the code handling holes: a variable was incremented instead of decremented, which could cause an infinite loop. Revision Changes Path 1.30 +15 -1 src/sys/fs/ntfs/ntfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306201452.h5KEqqh3054891>