Zpool: simplifies implementation by dropping platform-specific code

This commit is contained in:
李通洲
2025-11-20 18:18:25 +08:00
parent ed6abfd626
commit f703d9ac89
5 changed files with 2 additions and 40 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
// the correct value for a property at runtime.
typedef int zpool_prop_t;
typedef int zprop_source_t;
typedef bool boolean_t;
typedef int boolean_t;
typedef struct libzfs_handle libzfs_handle_t;
typedef struct zpool_handle zpool_handle_t;
@@ -3,7 +3,6 @@
#include "util/kmod.h"
#ifdef __sun
#define FF_DISABLE_DLOPEN
#include <libzfs.h>
#else
#include "libzfs_simplified.h"
-6
View File
@@ -1,6 +0,0 @@
#include "zpool.h"
const char* ffDetectZpool(FF_MAYBE_UNUSED FFlist* result /* list of FFZpoolResult */)
{
return "Not supported on this platform";
}