diff options
author | Brian Behlendorf <[email protected]> | 2010-08-26 11:45:02 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-08-31 13:41:57 -0700 |
commit | 60101509ee73c6e61e50c0a4079097f31bb39f4b (patch) | |
tree | 4d17e0f9a56f9c6e70e79d15aa18a563c3e70b3a /module/zfs/rrwlock.c | |
parent | 325f023544bbec6a478882c442e15304ee379759 (diff) |
Add linux kernel disk support
Native Linux vdev disk interfaces
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/rrwlock.c')
-rw-r--r-- | module/zfs/rrwlock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/zfs/rrwlock.c b/module/zfs/rrwlock.c index 4cef53f95..8d05d9387 100644 --- a/module/zfs/rrwlock.c +++ b/module/zfs/rrwlock.c @@ -23,6 +23,8 @@ * Use is subject to license terms. */ +#ifdef HAVE_ZPL + #include <sys/refcount.h> #include <sys/rrwlock.h> @@ -262,3 +264,4 @@ rrw_held(rrwlock_t *rrl, krw_t rw) return (held); } +#endif /* HAVE_ZPL */ |