Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/ext2fs/ext2_inode_cnv.c
Context not available. | |||||
printf("Inode: %5ju", (uintmax_t)in->i_number); | printf("Inode: %5ju", (uintmax_t)in->i_number); | ||||
printf( /* "Inode: %5d" */ | printf( /* "Inode: %5d" */ | ||||
" Type: %10s Mode: 0x%o Flags: 0x%x Version: %d\n", | " Type: %10s Mode: 0x%o Flags: 0x%x Version: %d\n", | ||||
"n/a", in->i_mode, in->i_flags, in->i_gen); | "n/a", in->i_mode, in->i_flags, in->i_gen | ||||
pfg: Does this compile? | |||||
fsuAuthorUnsubmitted Not Done Inline ActionsThis is my typo, will be fixed in next review request. fsu: This is my typo, will be fixed in next review request. | |||||
printf("User: %5u Group: %5u Size: %ju\n", | printf("User: %5u Group: %5u Size: %ju\n", | ||||
in->i_uid, in->i_gid, (uintmax_t)in->i_size); | in->i_uid, in->i_gid, (uintmax_t)in->i_size); | ||||
printf("Links: %3d Blockcount: %ju\n", | printf("Links: %3d Blockcount: %ju\n", | ||||
Context not available. | |||||
ip->i_flag |= (ei->e2di_flags & EXT3_INDEX) ? IN_E3INDEX : 0; | ip->i_flag |= (ei->e2di_flags & EXT3_INDEX) ? IN_E3INDEX : 0; | ||||
ip->i_flag |= (ei->e2di_flags & EXT4_EXTENTS) ? IN_E4EXTENTS : 0; | ip->i_flag |= (ei->e2di_flags & EXT4_EXTENTS) ? IN_E4EXTENTS : 0; | ||||
ip->i_blocks = ei->e2di_nblock; | ip->i_blocks = ei->e2di_nblock; | ||||
ip->i_facl = ei->e2di_facl; | |||||
if (E2DI_HAS_HUGE_FILE(ip)) { | if (E2DI_HAS_HUGE_FILE(ip)) { | ||||
ip->i_blocks |= (uint64_t)ei->e2di_nblock_high << 32; | ip->i_blocks |= (uint64_t)ei->e2di_nblock_high << 32; | ||||
ip->i_facl |= (uint64_t)ei->e2di_facl_high << 32; | |||||
if (ei->e2di_flags & EXT4_HUGE_FILE) | if (ei->e2di_flags & EXT4_HUGE_FILE) | ||||
ip->i_blocks = fsbtodb(ip->i_e2fs, ip->i_blocks); | ip->i_blocks = fsbtodb(ip->i_e2fs, ip->i_blocks); | ||||
} | } | ||||
Context not available. |
Does this compile?