prakashsurya commented on this pull request.
> @@ -94,6 +95,7 @@ int zfs_vdev_async_read_max_active; static const char cmdname[] = "zdb"; uint8_t dump_opt[256]; +extern int aok; I'm not sure if this is _correct_, but I was able to silence the lint issue by changing this line like so: ``` diff --git a/usr/src/cmd/zdb/zdb.c b/usr/src/cmd/zdb/zdb.c index e5797ae29d..3df7180c18 100644 --- a/usr/src/cmd/zdb/zdb.c +++ b/usr/src/cmd/zdb/zdb.c @@ -95,7 +95,7 @@ int zfs_vdev_async_read_max_active; static const char cmdname[] = "zdb"; uint8_t dump_opt[256]; -extern int aok; +volatile int aok; typedef void object_viewer_t(objset_t *, uint64_t, void *data, size_t size); ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/494#pullrequestreview-76864631 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/T65a1e2af407fe4b4-M0dfcbe51a1bf32992a2b7aae Powered by Topicbox: https://topicbox.com
