mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-26 16:12:34 +00:00
add18714b8
The functionality of create and restore is all in main.c, split the create functionality first. This is not the cleaniest diff to do it, the functions are entangled and the final result is from several compile and edit cycles. Signed-off-by: David Sterba <dsterba@suse.com>
25 lines
792 B
C
25 lines
792 B
C
/*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public
|
|
* License v2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public
|
|
* License along with this program; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 021110-1307, USA.
|
|
*/
|
|
|
|
#ifndef __BTRFS_IMAGE_COMMON_H__
|
|
#define __BTRFS_IMAGE_COMMON_H__
|
|
|
|
#include "kerncompat.h"
|
|
|
|
void csum_block(u8 *buf, size_t len);
|
|
|
|
#endif
|