btrfs-progs: add dry-run option to restore command
authorJustin Maggard <jmaggard10@gmail.com>
Fri, 14 Feb 2014 18:40:47 +0000 (10:40 -0800)
committerChris Mason <clm@fb.com>
Fri, 21 Mar 2014 13:23:16 +0000 (06:23 -0700)
commit2a7f8cf9eec0e2b0075fc82552594ebf35bb7093
treee8e4117f7d90874744ae49966a6f749a8d69cbbe
parent1500c52c75beb830ff4234603d3e9d856aafca75
btrfs-progs: add dry-run option to restore command

Sometimes it is useful to see what btrfs restore is going to do
before provisioning enough external storage to restore onto.
Add a dry-run option so we can see what files and paths are found
by restore, without actually restoring any data.

Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
cmds-restore.c