aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/ffs_snapshot.c
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2005-03-01 07:38:45 +0000
committerJeff Roberson <jeff@FreeBSD.org>2005-03-01 07:38:45 +0000
commit41766826eb644f2252583bbb514674a73eba5a94 (patch)
tree2940e78e3c05859bee428305eaa9b05f0bb88ed7 /sys/ufs/ffs/ffs_snapshot.c
parentd524bc1aa19bc2f8e4bceb6cff7a66236d849325 (diff)
downloadsrc-41766826eb644f2252583bbb514674a73eba5a94.tar.gz
src-41766826eb644f2252583bbb514674a73eba5a94.zip
- Fix anoter dyslexic moment; an atomic_set_int should've become ACTIVESET,
not ACTIVECLEAR. Submitted by: iedowse
Notes
Notes: svn path=/head/; revision=142879
Diffstat (limited to 'sys/ufs/ffs/ffs_snapshot.c')
-rw-r--r--sys/ufs/ffs/ffs_snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c
index 5a63d4cc6876..4c0eaba58723 100644
--- a/sys/ufs/ffs/ffs_snapshot.c
+++ b/sys/ufs/ffs/ffs_snapshot.c
@@ -745,7 +745,7 @@ cgaccount(cg, vp, nbp, passno)
return (EIO);
}
UFS_LOCK(ip->i_ump);
- ACTIVECLEAR(fs, cg);
+ ACTIVESET(fs, cg);
UFS_UNLOCK(ip->i_ump);
bcopy(bp->b_data, nbp->b_data, fs->fs_cgsize);
if (fs->fs_cgsize < fs->fs_bsize)