From 4ff7a8fa2f1e66c4a10ecd4fd74c9381db24fb02 Mon Sep 17 00:00:00 2001 From: Allan Jude Date: Tue, 14 Jun 2022 14:27:53 -0400 Subject: Replace ZPROP_INVAL with ZPROP_USERPROP where it means a user property Reviewed-by: Brian Behlendorf Signed-off-by: Allan Jude Sponsored-by: Klara Inc. Closes #12676 --- module/zfs/zcp_synctask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/zfs/zcp_synctask.c') diff --git a/module/zfs/zcp_synctask.c b/module/zfs/zcp_synctask.c index 403856ae3571..24210117eca0 100644 --- a/module/zfs/zcp_synctask.c +++ b/module/zfs/zcp_synctask.c @@ -325,7 +325,7 @@ zcp_synctask_inherit_prop_check(void *arg, dmu_tx_t *tx) zcp_inherit_prop_arg_t *args = arg; zfs_prop_t prop = zfs_name_to_prop(args->zipa_prop); - if (prop == ZPROP_INVAL) { + if (prop == ZPROP_USERPROP) { if (zfs_prop_user(args->zipa_prop)) return (0); -- cgit v1.2.3