mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
Replace ZPROP_INVAL with ZPROP_USERPROP where it means a user property
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Allan Jude <allan@klarasystems.com> Sponsored-by: Klara Inc. Closes #12676
This commit is contained in:
@@ -93,6 +93,7 @@ typedef enum dmu_objset_type {
|
||||
typedef enum {
|
||||
ZPROP_CONT = -2,
|
||||
ZPROP_INVAL = -1,
|
||||
ZPROP_USERPROP = ZPROP_INVAL,
|
||||
ZFS_PROP_TYPE = 0,
|
||||
ZFS_PROP_CREATION,
|
||||
ZFS_PROP_USED,
|
||||
@@ -310,7 +311,7 @@ typedef int (*zprop_func)(int, void *);
|
||||
*/
|
||||
typedef enum {
|
||||
VDEV_PROP_INVAL = -1,
|
||||
#define VDEV_PROP_USER VDEV_PROP_INVAL
|
||||
VDEV_PROP_USERPROP = VDEV_PROP_INVAL,
|
||||
VDEV_PROP_NAME,
|
||||
VDEV_PROP_CAPACITY,
|
||||
VDEV_PROP_STATE,
|
||||
|
||||
Reference in New Issue
Block a user