MFC r270203:

Correct the test for condition to suspend UFS filesystem during unmount.
This commit is contained in:
kib 2014-08-27 01:37:22 +00:00
parent e0ba747bef
commit 2039dda2a6

View File

@ -1213,7 +1213,7 @@ ffs_unmount(mp, mntflags)
susp = 0;
if (mntflags & MNT_FORCE) {
flags |= FORCECLOSE;
susp = fs->fs_ronly != 0;
susp = fs->fs_ronly == 0;
}
#ifdef UFS_EXTATTR
if ((error = ufs_extattr_stop(mp, td))) {