diff options
| author | ahrens <none@none> | 2006-11-03 18:22:42 -0800 |
|---|---|---|
| committer | ahrens <none@none> | 2006-11-03 18:22:42 -0800 |
| commit | e81c57b154a93e76828db416c371f9683b271c08 (patch) | |
| tree | 7e41e134d73fedcc60034a4509b49d82784caf3b /usr/src | |
| parent | 614409b5be5411058e7e9b6cc93dddaff9fb13f7 (diff) | |
| download | illumos-joyent-e81c57b154a93e76828db416c371f9683b271c08.tar.gz | |
6472021 vdev knobs can not be turned (fix lint)
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/cmd/zdb/zdb.c | 2 | ||||
| -rw-r--r-- | usr/src/uts/common/fs/zfs/sys/vdev_impl.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/cmd/zdb/zdb.c b/usr/src/cmd/zdb/zdb.c index a834f95e12..20e35b3713 100644 --- a/usr/src/cmd/zdb/zdb.c +++ b/usr/src/cmd/zdb/zdb.c @@ -2056,8 +2056,6 @@ out: int main(int argc, char **argv) { - extern int zfs_vdev_cache_size; - int i, c; struct rlimit rl = { 1024, 1024 }; spa_t *spa; diff --git a/usr/src/uts/common/fs/zfs/sys/vdev_impl.h b/usr/src/uts/common/fs/zfs/sys/vdev_impl.h index d136a8f527..52262ea0bd 100644 --- a/usr/src/uts/common/fs/zfs/sys/vdev_impl.h +++ b/usr/src/uts/common/fs/zfs/sys/vdev_impl.h @@ -283,6 +283,11 @@ extern vdev_ops_t vdev_spare_ops; extern uint64_t vdev_default_asize(vdev_t *vd, uint64_t psize); extern uint64_t vdev_get_rsize(vdev_t *vd); +/* + * zdb uses this tunable, so it must be declared here to make lint happy. + */ +extern int zfs_vdev_cache_size; + #ifdef __cplusplus } #endif |
