HDFS-6738. Remove unnecessary getEncryptionZoneForPath call in EZManager#createEncryptionZone. (clamb)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/fs-encryption@1612849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
687ce1a5fc
commit
512b756973
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue