git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: resolve orthographic and other grammatical errors
[zfs.git]
/
module
/
zfs
/
zap_micro.c
diff --git
a/module/zfs/zap_micro.c
b/module/zfs/zap_micro.c
index
d5b97da
..
3d8cae0
100644
(file)
--- a/
module/zfs/zap_micro.c
+++ b/
module/zfs/zap_micro.c
@@
-20,7
+20,7
@@
*/
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 201
1
by Delphix. All rights reserved.
+ * Copyright (c) 201
2
by Delphix. All rights reserved.
*/
#include <sys/zio.h>
*/
#include <sys/zio.h>
@@
-461,7
+461,7
@@
zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx,
{
dmu_object_info_t doi;
dmu_object_info_from_db(db, &doi);
{
dmu_object_info_t doi;
dmu_object_info_from_db(db, &doi);
- ASSERT
(dmu_ot[doi.doi_type].ot_byteswap == zap_byteswap
);
+ ASSERT
3U(DMU_OT_BYTESWAP(doi.doi_type), ==, DMU_BSWAP_ZAP
);
}
#endif
}
#endif
@@
-585,7
+585,7
@@
mzap_create_impl(objset_t *os, uint64_t obj, int normflags, zap_flags_t flags,
{
dmu_object_info_t doi;
dmu_object_info_from_db(db, &doi);
{
dmu_object_info_t doi;
dmu_object_info_from_db(db, &doi);
- ASSERT
(dmu_ot[doi.doi_type].ot_byteswap == zap_byteswap
);
+ ASSERT
3U(DMU_OT_BYTESWAP(doi.doi_type), ==, DMU_BSWAP_ZAP
);
}
#endif
}
#endif