diff options
author | smh <smh@FreeBSD.org> | 2015-11-05 17:00:42 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2015-11-05 17:00:42 +0000 |
commit | eff971aefeff777da3fdd968136ee769bdb2f97b (patch) | |
tree | d7b99fe6ed4bd0cc7a0a727e3834f6c35df933fc | |
parent | e9603d115f79e4a484237d87e153ac32eaf8660b (diff) | |
download | FreeBSD-src-eff971aefeff777da3fdd968136ee769bdb2f97b.zip FreeBSD-src-eff971aefeff777da3fdd968136ee769bdb2f97b.tar.gz |
Allow zfs_recover to be changed at runtime
MFC after: 1 week
Sponsored by: Multiplay
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c index 30c71a6..a394546 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c @@ -255,7 +255,7 @@ int zfs_flags = 0; */ boolean_t zfs_recover = B_FALSE; SYSCTL_DECL(_vfs_zfs); -SYSCTL_INT(_vfs_zfs, OID_AUTO, recover, CTLFLAG_RDTUN, &zfs_recover, 0, +SYSCTL_INT(_vfs_zfs, OID_AUTO, recover, CTLFLAG_RWTUN, &zfs_recover, 0, "Try to recover from otherwise-fatal errors."); static int |