FreeBSD Bugzilla – Attachment 184171 Details for
Bug 220546
[patch] zfs.ko: undefined reference to abd_is_linear(), abd_copy_to_buf() and (probably) others with ASSERT's enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add 'static' keyword to inline functions in abd.h
patch-static-abd.h.diff (text/plain), 1.18 KB, created by
Andriy Voskoboinyk
on 2017-07-08 11:14:23 UTC
(
hide
)
Description:
Add 'static' keyword to inline functions in abd.h
Filename:
MIME Type:
Creator:
Andriy Voskoboinyk
Created:
2017-07-08 11:14:23 UTC
Size:
1.18 KB
patch
obsolete
>Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/abd.h >=================================================================== >--- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/abd.h (revision 320802) >+++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/abd.h (working copy) >@@ -61,7 +61,7 @@ > > extern boolean_t zfs_abd_scatter_enabled; > >-inline boolean_t >+static inline boolean_t > abd_is_linear(abd_t *abd) > { > return ((abd->abd_flags & ABD_FLAG_LINEAR) != 0 ? B_TRUE : B_FALSE); >@@ -110,31 +110,31 @@ > * Wrappers for calls with offsets of 0 > */ > >-inline void >+static inline void > abd_copy(abd_t *dabd, abd_t *sabd, size_t size) > { > abd_copy_off(dabd, sabd, 0, 0, size); > } > >-inline void >+static inline void > abd_copy_from_buf(abd_t *abd, void *buf, size_t size) > { > abd_copy_from_buf_off(abd, buf, 0, size); > } > >-inline void >+static inline void > abd_copy_to_buf(void* buf, abd_t *abd, size_t size) > { > abd_copy_to_buf_off(buf, abd, 0, size); > } > >-inline int >+static inline int > abd_cmp_buf(abd_t *abd, void *buf, size_t size) > { > return (abd_cmp_buf_off(abd, buf, 0, size)); > } > >-inline void >+static inline void > abd_zero(abd_t *abd, size_t size) > { > abd_zero_off(abd, 0, size);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220546
: 184171