Blame source/vdo/base/upgrade.h

Packit Service b3514a
/*
Packit Service b3514a
 * Copyright (c) 2020 Red Hat, Inc.
Packit Service b3514a
 *
Packit Service b3514a
 * This program is free software; you can redistribute it and/or
Packit Service b3514a
 * modify it under the terms of the GNU General Public License
Packit Service b3514a
 * as published by the Free Software Foundation; either version 2
Packit Service b3514a
 * of the License, or (at your option) any later version.
Packit Service b3514a
 * 
Packit Service b3514a
 * This program is distributed in the hope that it will be useful,
Packit Service b3514a
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service b3514a
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service b3514a
 * GNU General Public License for more details.
Packit Service b3514a
 * 
Packit Service b3514a
 * You should have received a copy of the GNU General Public License
Packit Service b3514a
 * along with this program; if not, write to the Free Software
Packit Service b3514a
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Packit Service b3514a
 * 02110-1301, USA. 
Packit Service b3514a
 *
Packit Service d40955
 * $Id: //eng/vdo-releases/aluminum/src/c++/vdo/base/upgrade.h#1 $
Packit Service b3514a
 */
Packit Service b3514a
Packit Service d40955
#ifndef UPGRADE_H
Packit Service d40955
#define UPGRADE_H
Packit Service b3514a
Packit Service b3514a
#include "types.h"
Packit Service b3514a
Packit Service b3514a
/**
Packit Service d40955
 * Reconfigure the superblock of a prior VDO, preparing it for upgrading.
Packit Service b3514a
 *
Packit Service d40955
 * @param layer  The layer with a VDO to prepare
Packit Service d40955
 *
Packit Service d40955
 * @return VDO_SUCCESS or an error
Packit Service b3514a
 **/
Packit Service d40955
int upgradePriorVDO(PhysicalLayer *layer)
Packit Service d40955
  __attribute__((warn_unused_result));
Packit Service b3514a
Packit Service d40955
#endif /* UPGRADE_H */