btrfs-progs: restore: optionally restore metadata
authorDan Merillat <dan.merillat@gmail.com>
Tue, 21 Apr 2015 05:48:24 +0000 (01:48 -0400)
committerDavid Sterba <dsterba@suse.cz>
Fri, 24 Apr 2015 13:42:04 +0000 (15:42 +0200)
commit7732e6ef62159cc942897df0a358b784b62658c1
tree6037a5278e8441d6e083010ecbafab03f18413d1
parent7ab0bdd7125c098670a6c2bb9d6bb95c1aaa78ed
btrfs-progs: restore: optionally restore metadata

As long as the inode is intact, the file metadata can be restored.
Directory data is restored at the end of search_dir.  Errors are
checked and returned, unless ignore_errors is requested.

Signed-off-by: Dan Merillat <dan.merillat@gmail.com>
[minor style fixes, error message updates]
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-restore.c