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
Add linux compatibility
[zfs.git]
/
module
/
zfs
/
include
/
sys
/
sa_impl.h
diff --git
a/module/zfs/include/sys/sa_impl.h
b/module/zfs/include/sys/sa_impl.h
index
62497e7
..
6661e47
100644
(file)
--- a/
module/zfs/include/sys/sa_impl.h
+++ b/
module/zfs/include/sys/sa_impl.h
@@
-19,8
+19,7
@@
* CDDL HEADER END
*/
/*
* CDDL HEADER END
*/
/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _SYS_SA_IMPL_H
*/
#ifndef _SYS_SA_IMPL_H
@@
-232,7
+231,7
@@
struct sa_handle {
((a == DMU_OT_SA) ? B_TRUE : B_FALSE)
#define SA_BONUSTYPE_FROM_DB(db) \
((a == DMU_OT_SA) ? B_TRUE : B_FALSE)
#define SA_BONUSTYPE_FROM_DB(db) \
- (
((dmu_buf_impl_t *)db)->db_dnode->dn_bonustype
)
+ (
dmu_get_bonustype((dmu_buf_t *)db)
)
#define SA_BLKPTR_SPACE (DN_MAX_BONUSLEN - sizeof (blkptr_t))
#define SA_BLKPTR_SPACE (DN_MAX_BONUSLEN - sizeof (blkptr_t))