Add Yan Zheng's ext3->btrfs conversion program

run make convert to build it, the program is named btrfs-convert and is
not installed by default.
This commit is contained in:
Chris Mason 2008-01-04 11:29:55 -05:00 committed by David Woodhouse
parent 84b99666be
commit 806528b875
2 changed files with 1283 additions and 1 deletions

View File

@ -47,8 +47,11 @@ dir-test: $(objects) dir-test.o
quick-test: $(objects) quick-test.o
gcc $(CFLAGS) -o quick-test $(objects) quick-test.o $(LDFLAGS)
convert: $(objects) convert.o utils.o
gcc $(CFLAGS) -o btrfs-convert $(objects) convert.o utils.o -luuid -lext2fs $(LDFLAGS)
clean :
rm -f $(progs) cscope.out *.o .*.d
rm -f $(progs) cscope.out *.o .*.d btrfs-convert
install: $(progs)
$(INSTALL) -m755 -d $(DESTDIR)$(bindir)

1279
convert.c Normal file

File diff suppressed because it is too large Load Diff