Hi all, This is the fourth try to support to dump a sparse file in debugfs. In this patch series the only change is using ext2fs_llseek() in dump_file to get a better portability. v4 <- v3: - call ext2fs_llseek() in dump_file to seek to the next data because of better portability v3 <- v2: - use extent interfaces to handle extent-based file in seek_data/hole function - call ext2fs_file_llseek() to retrieve current offset in dump_file() v2 <- v1: - split original patch into two parts. - make code clearly according to Ted's suggestions Regards, - Zheng Zheng Liu (2): libext2fs: introduce lseek SEEK_DATA/HOLE debugfs: dump a sparse file debugfs/dump.c | 48 +++++++++-- lib/ext2fs/ext2_err.et.in | 6 ++ lib/ext2fs/ext2fs.h | 3 + lib/ext2fs/fileio.c | 208 +++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 254 insertions(+), 11 deletions(-) -- 1.7.12.rc2.18.g61b472e -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html