We can remove the following getEncryptionZoneForPath call below.
// done this way to handle edit log loading
dir.unprotectedSetXAttrs(src, xattrs, EnumSet.of(XAttrSetFlag.CREATE));
ezi = getEncryptionZoneForPath(srcIIP);
Thanks Uma Maheswara Rao G.
The attached trivial patch addresses the issue.
Compilation issue only so no tests included in this patch.
-1 overall. Here are the results of testing the latest attachment
against trunk revision .
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/7442//console
This message is automatically generated.
Thanks for the review Uma Maheswara Rao G. I've committed this to fs-encryption.