diff options
author | jh <jh@FreeBSD.org> | 2011-02-19 14:27:14 +0000 |
---|---|---|
committer | jh <jh@FreeBSD.org> | 2011-02-19 14:27:14 +0000 |
commit | d4c0c6675e49cad63379c70ad9009fee79ac872c (patch) | |
tree | af7858df90f4fb3d18aff663be028bffedb2f87e /usr.sbin | |
parent | 63238d2066e987f2a713b979494a8475f82d24ff (diff) | |
download | FreeBSD-src-d4c0c6675e49cad63379c70ad9009fee79ac872c.zip FreeBSD-src-d4c0c6675e49cad63379c70ad9009fee79ac872c.tar.gz |
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
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions