Home
last modified time | relevance | path

Searched refs:latest_node (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/fs/jffs2/
Dreadinode.c253 struct jffs2_raw_inode latest_node; in jffs2_read_inode() local
338 latest_node.version = 0; in jffs2_read_inode()
345 …->mtd->read(c->mtd, fn->raw->flash_offset & ~3, sizeof(latest_node), &retlen, (void *)&latest_node in jffs2_read_inode()
346 if (ret || retlen != sizeof(latest_node)) { in jffs2_read_inode()
348 ret, (long)retlen, sizeof(latest_node)); in jffs2_read_inode()
354 crc = crc32(0, &latest_node, sizeof(latest_node)-8); in jffs2_read_inode()
355 if (crc != latest_node.node_crc) { in jffs2_read_inode()
362 inode->i_mode = latest_node.mode; in jffs2_read_inode()
363 inode->i_uid = latest_node.uid; in jffs2_read_inode()
364 inode->i_gid = latest_node.gid; in jffs2_read_inode()
[all …]