btrfs-progs: convert: factor out adding dirent into convert_insert_dirent
authorJeff Mahoney <jeffm@suse.com>
Fri, 5 Jun 2015 21:37:11 +0000 (23:37 +0200)
committerDavid Sterba <dsterba@suse.cz>
Fri, 5 Jun 2015 21:39:54 +0000 (23:39 +0200)
commit76c38116b338e57930aa25d76940b9b32b618db6
treef577d7c256feccb33300c105c73aab1b23bbc967
parent7fb975abc65d9723d4dc04efacca789ec83760c1
btrfs-progs: convert: factor out adding dirent into convert_insert_dirent

Adding a dirent consists of multiple steps that will need to be taken by
any converter.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
btrfs-convert.c