jasonbking requested changes on this pull request.

Just two cstyle nits, otherwise looks good.

> @@ -1166,6 +1176,14 @@ mountpoint_cmp(const void *arga, const void *argb)
        const char *a = mounta;
        const char *b = mountb;
        boolean_t gota, gotb;
+       uint64_t zoneda, zonedb;
+
+       zoneda = zfs_prop_get_int(za, ZFS_PROP_ZONED);
+       zonedb = zfs_prop_get_int(zb, ZFS_PROP_ZONED);
+       if (zoneda && !zonedb)
+               return 1;

Cstyle nit -- `return (1);`

> @@ -1166,6 +1176,14 @@ mountpoint_cmp(const void *arga, const void *argb)
        const char *a = mounta;
        const char *b = mountb;
        boolean_t gota, gotb;
+       uint64_t zoneda, zonedb;
+
+       zoneda = zfs_prop_get_int(za, ZFS_PROP_ZONED);
+       zonedb = zfs_prop_get_int(zb, ZFS_PROP_ZONED);
+       if (zoneda && !zonedb)
+               return 1;
+       if (!zoneda && zonedb)
+               return -1;

Similar to above -- `return (-1);`

-- 
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/700#pullrequestreview-163384948
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/Teaa4e2ae04d2f095-M7b573b4f0fbbfb87c093ff63
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to