linamh/sys-block/partclone/files/jfsclone-no-return.patch
2011-12-03 21:16:15 +01:00

12 lines
448 B
Diff

diff -ruN partclone-0.2.15/src/jfsclone.c partclone-0.2.15.jfs/src/jfsclone.c
--- partclone-0.2.15/src/jfsclone.c 2010-09-01 17:15:10.000000000 +0900
+++ partclone-0.2.15.jfs/src/jfsclone.c 2010-09-19 17:04:43.651380655 +0900
@@ -348,6 +348,7 @@
log_mesg(2, 0, 0, fs_opt.debug, "%s: free_blocks = %lli\n", __FILE__, cntl_page.dn_nfree);
log_mesg(2, 0, 0, fs_opt.debug, "%s: log_blocks = %i\n", __FILE__, logsize);
+ return 0;
}