<BUG>HdfsFileStatus stat = FSDirStatAndListingOp.createFileStatus(</BUG><CONTEXT>addCloseOp.clientMachine,addCloseOp.storagePolicyId);iip = INodesInPath.replace(iip, iip.length() - 1, newFile);fsNamesys.leaseManager.addLease(addCloseOp.clientName, path);if (toAddRetryCache) {<extra_id_0>fsNamesys.dir, path, HdfsFileStatus.EMPTY_NAME, newFile,HdfsConstantsClient.BLOCK_STORAGE_POLICY_ID_UNSPECIFIED, Snapshot.CURRENT_STATE_ID,false, iip);</CONTEXT>
HdfsFileStatus stat = FSDirStatAndListingOp.createFileStatusForEditLog(