diff options
author | delphij <delphij@FreeBSD.org> | 2015-01-23 18:33:50 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2015-01-23 18:33:50 +0000 |
commit | b84208b123f4cec533e4449564deb64491c7d2b0 (patch) | |
tree | 7c3a513ee4f4acfcb411e96cef8b0d537e7adc6d /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_diff.c | |
parent | 9ef0e2ecd5b4a3f100aafaf5168f06e80d4e245e (diff) | |
download | FreeBSD-src-b84208b123f4cec533e4449564deb64491c7d2b0.zip FreeBSD-src-b84208b123f4cec533e4449564deb64491c7d2b0.tar.gz |
MFC r275811: MFV r275783:
Convert ARC flags to use enum. Previously, public flags are defined in
arc.h and private flags are defined in arc.c which can lead to confusion
and programming errors.
Consistently use 'hdr' (when referencing arc_buf_hdr_t) instead of 'buf'
or 'ab' because arc_buf_t are often named 'buf' as well.
Illumos issue:
5369 arc flags should be an enum
5370 consistent arc_buf_hdr_t naming scheme
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_diff.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_diff.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_diff.c index cc81dc6..bd9e894 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_diff.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_diff.c @@ -152,7 +152,7 @@ diff_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, } else if (zb->zb_level == 0) { dnode_phys_t *blk; arc_buf_t *abuf; - uint32_t aflags = ARC_WAIT; + arc_flags_t aflags = ARC_FLAG_WAIT; int blksz = BP_GET_LSIZE(bp); int i; |