diff options
author | Theodore Ts'o <tytso@mit.edu> | 2003-03-14 00:38:45 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2003-03-14 00:38:45 -0500 |
commit | eca53e3c4e96b9386f2d2bd3f2e5a07a2fa466d9 (patch) | |
tree | 9cb5f812c342f37ed5cfa81dd508c6cbe270728d /misc/e2image.c | |
parent | 20754488a228fed766126a2788bce523154a48f0 (diff) | |
download | e2fsprogs-eca53e3c4e96b9386f2d2bd3f2e5a07a2fa466d9.tar.gz |
e2image.c (write_raw_image_file): Include blocks from slow
symbolic links in the raw image file.
Diffstat (limited to 'misc/e2image.c')
-rw-r--r-- | misc/e2image.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/e2image.c b/misc/e2image.c index 34b1e2c1..f692170d 100644 --- a/misc/e2image.c +++ b/misc/e2image.c @@ -408,6 +408,8 @@ static void write_raw_image_file(ext2_filsys fs, int fd) stashed_ino = ino; if (LINUX_S_ISDIR(inode.i_mode) || + (LINUX_S_ISLNK(inode.i_mode) && + ext2fs_inode_has_valid_blocks(&inode)) || ino == fs->super->s_journal_inum) { retval = ext2fs_block_iterate2(fs, ino, 0, block_buf, process_dir_block, &pb); |