mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-24 18:43:53 +08:00
e2image.c (write_raw_image_file): Include blocks from slow
symbolic links in the raw image file.
This commit is contained in:
parent
20754488a2
commit
eca53e3c4e
@ -1,3 +1,8 @@
|
||||
2003-03-13 Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
* e2image.c (write_raw_image_file): Include blocks from slow
|
||||
symbolic links in the raw image file.
|
||||
|
||||
2003-03-06 <tytso@mit.edu>
|
||||
|
||||
* tune2fs.c (parse_tune2fs_options, parse_e2label_options): Allow
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user