MFC r270203:
Correct the test for condition to suspend UFS filesystem during unmount.
This commit is contained in:
parent
e0ba747bef
commit
2039dda2a6
@ -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))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user