ext2fs marked dirty when mounted read-only
hardware at ee.ccny.cuny.edu
hardware at ee.ccny.cuny.edu
Tue Jun 20 16:07:17 UTC 2006
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.
More information about the freebsd-fs
mailing list