"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "fsremap/src/io/extent_posix.hh" 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.

extent_posix.hh  (fstransform-0.9.3-src):extent_posix.hh  (fstransform-0.9.4)
skipping to change at line 36 skipping to change at line 36
#ifndef FSREMAP_IO_POSIX_EXTENT_HH #ifndef FSREMAP_IO_POSIX_EXTENT_HH
#define FSREMAP_IO_POSIX_EXTENT_HH #define FSREMAP_IO_POSIX_EXTENT_HH
#include "../fwd.hh" // for fr_vector<T> forward declaration */ #include "../fwd.hh" // for fr_vector<T> forward declaration */
#include "../types.hh" // for ft_uoff #include "../types.hh" // for ft_uoff
FT_IO_NAMESPACE_BEGIN FT_IO_NAMESPACE_BEGIN
/** /**
* retrieves file blocks allocation map (extents) for specified file descriptor * retrieves file blocks allocation map (extents) for specified file descriptor
* and appends them to ret_vector (with user_data = FC_DEFAULT_USER_DATA) * and appends them to ret_vector (with user_data = FC_DEFAULT_USER_DATA) sorted by ->logical
* in case of failure returns errno-compatible error code, and ret_vector conten ts will be UNDEFINED. * in case of failure returns errno-compatible error code, and ret_vector conten ts will be UNDEFINED.
* *
* implementation: calls ioctl(FS_IOC_FIEMAP) and if it fails, tries with ioctl( FIBMAP) * implementation: calls ioctl(FS_IOC_FIEMAP) and if it fails, tries with ioctl( FIBMAP)
*/ */
int ff_read_extents_posix(int fd, ft_uoff dev_length, fr_vector<ft_uoff> & ret_l ist, ft_uoff & ret_block_size_bitmask); int ff_read_extents_posix(int fd, ft_uoff dev_length, fr_vector<ft_uoff> & ret_l ist, ft_uoff & ret_block_size_bitmask);
FT_IO_NAMESPACE_END FT_IO_NAMESPACE_END
#endif /* FSREMAP_FILEMAP_HH */ #endif /* FSREMAP_FILEMAP_HH */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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