Merge commit 'refs/top-bases/linux-zfs-branch' into linux-zfs-branch
This commit is contained in:
commit
c099989076
|
@ -23,6 +23,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_ZPL
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
#include <sys/refcount.h>
|
||||
|
@ -247,3 +249,5 @@ rrw_held(rrwlock_t *rrl, krw_t rw)
|
|||
|
||||
return (held);
|
||||
}
|
||||
|
||||
#endif /* HAVE_ZPL */
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
#include <sys/spa.h>
|
||||
|
@ -45,3 +47,5 @@ spa_free_bootprop(char *value)
|
|||
{
|
||||
ddi_prop_free(value);
|
||||
}
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
|
|
@ -656,6 +656,4 @@ vdev_ops_t vdev_disk_ops = {
|
|||
B_TRUE /* leaf vdev */
|
||||
};
|
||||
|
||||
#else
|
||||
#error "vdev_disk.c is only required for an in-kernel builds"
|
||||
#endif /* _KERNEL */
|
||||
|
|
Loading…
Reference in New Issue