diff options
author | smh <smh@FreeBSD.org> | 2013-03-21 23:06:11 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2013-03-21 23:06:11 +0000 |
commit | 75c735d00a173ab2e6e667aa31a422bf6f28050d (patch) | |
tree | 620f52a51fccd7d40afa627343203471055c6cc6 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c | |
parent | 01401cc9bca76c460248a40ae70d0c23f8df2e2a (diff) | |
download | FreeBSD-src-75c735d00a173ab2e6e667aa31a422bf6f28050d.zip FreeBSD-src-75c735d00a173ab2e6e667aa31a422bf6f28050d.tar.gz |
Fix for building libzpool under i386.
Reviewed by: pjd (mentor)
Approved by: pjd (mentor)
MFC after: 2 weeks
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c index cfbbdd6..250db35 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c @@ -44,7 +44,7 @@ atomic_add_64(&(tm)->tm_bytes, (size)) #define TRIM_MAP_SDEC(tm, size) \ - atomic_subtract_64(&(tm)->tm_bytes, (size)) + atomic_add_64(&(tm)->tm_bytes, -(size)) #define TRIM_MAP_QINC(tm) \ atomic_inc_64(&(tm)->tm_pending); \ |