aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/zcp_synctask.c
diff options
context:
space:
mode:
authorAllan Jude <allan@klarasystems.com>2022-06-14 18:27:53 +0000
committerGitHub <noreply@github.com>2022-06-14 18:27:53 +0000
commit4ff7a8fa2f1e66c4a10ecd4fd74c9381db24fb02 (patch)
tree52e474d18dac3c3fecafee37858fbbe6c8a50a08 /module/zfs/zcp_synctask.c
parent9e605cf155040f76f3971f056a4410ac8f500fe3 (diff)
downloadsrc-4ff7a8fa2f1e66c4a10ecd4fd74c9381db24fb02.tar.gz
src-4ff7a8fa2f1e66c4a10ecd4fd74c9381db24fb02.zip
Diffstat (limited to 'module/zfs/zcp_synctask.c')
-rw-r--r--module/zfs/zcp_synctask.c2
1 files changed, 1 insertions, 1 deletions
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);