diff options
author | David Sterba <dsterba@suse.com> | 2017-10-20 00:48:30 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-11-14 15:59:00 +0100 |
commit | 095d143afaef655aac22e91a89effb977b22f0e6 (patch) | |
tree | 9f942dd2552be2d498a08a21dccd48da23e02626 /image/main.c | |
parent | af524c95392b409be3b7643c9ac117b5e060a26e (diff) |
btrfs-progs: image: start a new header for sanitization functions
Will be used by following cleanups, so far only the name structure could
be moved here.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'image/main.c')
-rw-r--r-- | image/main.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/image/main.c b/image/main.c index 4557f963..408a03e4 100644 --- a/image/main.c +++ b/image/main.c @@ -37,6 +37,7 @@ #include "extent_io.h" #include "help.h" #include "image/metadump.h" +#include "image/sanitize.h" #define MAX_WORKER_THREADS (32) @@ -81,13 +82,6 @@ struct metadump_struct { int error; }; -struct name { - struct rb_node n; - char *val; - char *sub; - u32 len; -}; - struct mdrestore_struct { FILE *in; FILE *out; |