Date: Sat, 19 Feb 2011 14:27:14 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_mount.c Message-ID: <201102191427.p1JERMWX015333@repoman.freebsd.org>
index | next in thread | raw e-mail
jh 2011-02-19 14:27:14 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_mount.c
Log:
SVN rev 218852 on 2011-02-19 14:27:14Z by jh
Don't restore old mount options and flags if VFS_MOUNT(9) succeeds but
vfs_export() fails. Restoring old options and flags after successful
VFS_MOUNT(9) call may cause the file system internal state to become
inconsistent with mount options and flags. Specifically the FFS super
block fs_ronly field and the MNT_RDONLY flag may get out of sync.
PR: kern/133614
Discussed on: freebsd-hackers
Revision Changes Path
1.329 +29 -26 src/sys/kern/vfs_mount.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102191427.p1JERMWX015333>
