code: private void setLastBlockSize(INodeFileUnderConstruction pendingFile) {
      Block block = pendingFile.getLastBlock();
      if (block != null) {
        block.setNumBytes(pendingFile.getPreferredBlockSize());
      }
    }
docs: Set last block's block size to be the file's default block size
  @param file file inode under construction