svn commit: r270694 - stable/10/sys/ufs/ffs
Konstantin Belousov
kib at FreeBSD.org
Wed Aug 27 01:37:23 UTC 2014
Author: kib
Date: Wed Aug 27 01:37:22 2014
New Revision: 270694
URL: http://svnweb.freebsd.org/changeset/base/270694
Log:
MFC r270203:
Correct the test for condition to suspend UFS filesystem during unmount.
Modified:
stable/10/sys/ufs/ffs/ffs_vfsops.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/ufs/ffs/ffs_vfsops.c
==============================================================================
--- stable/10/sys/ufs/ffs/ffs_vfsops.c Wed Aug 27 01:34:33 2014 (r270693)
+++ stable/10/sys/ufs/ffs/ffs_vfsops.c Wed Aug 27 01:37:22 2014 (r270694)
@@ -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))) {
More information about the svn-src-stable
mailing list