MFC r197219:

Forced unmounts work just fine in my tests under heavy load. There might
still be a problem, but it isn't worth a warning.

Approved by:	re (kib)
This commit is contained in:
Pawel Jakub Dawidek 2009-09-15 12:19:34 +00:00
parent 6bd6f55621
commit 26e71a6c1b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=197220

View File

@ -994,11 +994,6 @@ zfs_umount(vfs_t *vfsp, int fflag)
cred_t *cr = curthread->td_ucred;
int ret;
if (fflag & MS_FORCE) {
/* TODO: Force unmount is not well implemented yet, so deny it. */
ZFS_LOG(0, "Force unmount is experimental - report any problems.");
}
ret = secpolicy_fs_unmount(cr, vfsp);
if (ret) {
ret = dsl_deleg_access((char *)refstr_value(vfsp->vfs_resource),