"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "fsremap/src/dispatch.cc" between
fstransform-0.9.3-src.tar.gz and fstransform-0.9.4.tar.gz

About: fstransform is a tool to change a file-system from one format to another, for example from jfs, xfs, or reiser to ext2, ext3, or ext4, in-place and without the need for backup.

dispatch.cc  (fstransform-0.9.3-src):dispatch.cc  (fstransform-0.9.4)
skipping to change at line 43 skipping to change at line 43
/** /**
* instantiate and run fr_work<T> * instantiate and run fr_work<T>
* with the smallest T that can represent device blocks count. * with the smallest T that can represent device blocks count.
* return 0 if success, else error. * return 0 if success, else error.
* *
* implementation: iterates on all known configured T and, * implementation: iterates on all known configured T and,
* if both fr_work<T>::check() and fr_work<T>::init() succeed, * if both fr_work<T>::check() and fr_work<T>::init() succeed,
* calls fr_work<T>::run(), then fr_work<T>::cleanup() * calls fr_work<T>::run(), then fr_work<T>::cleanup()
*/ */
int fr_dispatch::main(fr_vector<ft_uoff> & loop_file_extents, int fr_dispatch::main(fr_vector<ft_uoff> & loop_file_extents,
fr_vector<ft_uoff> & free_space_extents, FT_IO_NS fr_ fr_vector<ft_uoff> & free_space_extents
io & io) ,
fr_vector<ft_uoff> & to_zero_extents,
FT_IO_NS fr_io & io)
{ {
if (fr_work<ft_uint>::check(io) == 0) { if (fr_work<ft_uint>::check(io) == 0) {
ff_log(FC_INFO, 0, "using reduced (%"FT_ULL" bit) remapping algorithm", ff_log(FC_INFO, 0, "using reduced (%" FT_ULL " bit) remapping algorithm"
(ft_ull)8*sizeof(ft_uint)); , (ft_ull)8*sizeof(ft_uint));
return fr_work<ft_uint>::main(loop_file_extents, free_space_extents, io) return fr_work<ft_uint>::main(loop_file_extents, free_space_extents, to_
; zero_extents, io);
} }
ff_log(FC_INFO, 0, "using full (%"FT_ULL" bit) remapping algorithm", (ft_ull ff_log(FC_INFO, 0, "using full (%" FT_ULL " bit) remapping algorithm", (ft_u
)8*sizeof(ft_uoff)); ll)8*sizeof(ft_uoff));
return fr_work<ft_uoff>::main(loop_file_extents, free_space_extents, io); return fr_work<ft_uoff>::main(loop_file_extents, free_space_extents, to_zero
_extents, io);
} }
FT_NAMESPACE_END FT_NAMESPACE_END
 End of changes. 3 change blocks. 
9 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)