Lines 447-452
static int check_dot(e2fsck_t ctx,
Link Here
|
447 |
nextdir = (struct ext2_dir_entry *) |
447 |
nextdir = (struct ext2_dir_entry *) |
448 |
((char *) dirent + 12); |
448 |
((char *) dirent + 12); |
449 |
dirent->rec_len = 12; |
449 |
dirent->rec_len = 12; |
|
|
450 |
#ifdef WORDS_BIGENDIAN |
451 |
/* We discover new on disk dir entry. |
452 |
* Account for it's endianness. */ |
453 |
ext2fs_dirent_swab_in2(ctx->fs, |
454 |
nextdir, new_len, 0); |
455 |
#endif |
450 |
/* if the next entry looks like "..", leave it |
456 |
/* if the next entry looks like "..", leave it |
451 |
* and let check_dotdot() verify the dirent, |
457 |
* and let check_dotdot() verify the dirent, |
452 |
* otherwise zap the following entry. */ |
458 |
* otherwise zap the following entry. */ |
453 |
- |
|
|