diff options
author | kib <kib@FreeBSD.org> | 2014-08-27 01:37:22 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-08-27 01:37:22 +0000 |
commit | 2039dda2a6f637cbdf0e5b5fa9ef8e5e759a6510 (patch) | |
tree | 49324cd10d63b021caa20045db542c6ce4964642 /sys/ufs | |
parent | e0ba747bef810d812079e3474475a3eb1b5f353e (diff) | |
download | FreeBSD-src-2039dda2a6f637cbdf0e5b5fa9ef8e5e759a6510.zip FreeBSD-src-2039dda2a6f637cbdf0e5b5fa9ef8e5e759a6510.tar.gz |
MFC r270203:
Correct the test for condition to suspend UFS filesystem during unmount.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 3fd4512..41e29c0 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -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))) { |