Date: Tue, 20 Jun 2006 12:06:45 -0400 (EDT) From: hardware@ee.ccny.cuny.edu To: freebsd-fs@freebsd.org Subject: Re: ext2fs marked dirty when mounted read-only Message-ID: <Pine.GSO.4.44.0606201204440.15105-100000@eesfc20.engr.ccny.cuny.edu> In-Reply-To: <20060620163718.26387be9.stas@310.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
I tried that modification. Still the same problem. -kr On Tue, 20 Jun 2006, Stanislav Sedov wrote: > There is a small bug in ext2fs code. I'd experienced the same problem > some time ago. > > Unfortunately, I have lost the patch. > > Try to change the line > "if (fs->s_rd_only && !vfs_flagopt(opts, "ro", NULL, 0)) {" > > in ext2_vfsops.c > > to > "if (fs->s_rd_only && !(mp->mnt_flag & MNT_RDONLY)) {" > > I suppose it will help.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0606201204440.15105-100000>