]> git.proxmox.com Git - mirror_zfs.git/commit
BRT should return EOPNOTSUPP
authororomenahar <christianpe96@gmail.com>
Thu, 27 Jul 2023 18:32:34 +0000 (20:32 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2023 18:32:34 +0000 (11:32 -0700)
commit5bdfff5cfc8baff48b3b59a577e7ef756a011024
treeb9a77483f82d6a82369d709a903baaf6c1a59d5f
parent704c80f0487199a00c3ce5eba1b2c1ee7854c900
BRT should return EOPNOTSUPP

Return the more descriptive EOPNOTSUPP instead of EXDEV when the
storage pool doesn't support block cloning.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <rob.norris@klarasystems.com>
Signed-off-by: Kay Pedersen <mail@mkwg.de>
Closes #15097
module/os/freebsd/zfs/zfs_vnops_os.c
module/zfs/zfs_vnops.c