HomeFreeBSD

BRT should return EOPNOTSUPP

Description

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

Details

Provenance
oromenahar <christianpe96@gmail.com>Authored on Jul 27 2023, 6:32 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 27 2023, 11:11 PM
Parents
rG36d1a3ef4ed9: zts: block cloning tests
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGc24a48063142: BRT should return EOPNOTSUPP (authored by oromenahar <christianpe96@gmail.com>).Jul 27 2023, 11:11 PM