Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2014 01:37:23 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r270694 - stable/10/sys/ufs/ffs
Message-ID:  <201408270137.s7R1bNgF044090@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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))) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408270137.s7R1bNgF044090>