git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/fs-encryption@1612849 13f79535-47bb-0310-9956-ffa450edef68
@@ -56,6 +56,9 @@ fs-encryption (Unreleased)
HDFS-6720. Remove KeyProvider in EncryptionZoneManager. (wang)
+ HDFS-6738. Remove unnecessary getEncryptionZoneForPath call in
+ EZManager#createEncryptionZone. (clamb)
+
OPTIMIZATIONS
BUG FIXES
@@ -227,7 +227,6 @@ public class EncryptionZoneManager {
// updating the xattr will call addEncryptionZone,
// done this way to handle edit log loading
dir.unprotectedSetXAttrs(src, xattrs, EnumSet.of(XAttrSetFlag.CREATE));
- ezi = getEncryptionZoneForPath(srcIIP);
return ezXAttr;
}