Searched refs:cs_node (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/fs/ubifs/ |
D | recovery.c | 775 struct ubifs_cs_node *cs_node = NULL; in get_cs_sqnum() local 779 cs_node = kmalloc(UBIFS_CS_NODE_SZ, GFP_KERNEL); in get_cs_sqnum() 780 if (!cs_node) in get_cs_sqnum() 784 err = ubi_read(c->ubi, lnum, (void *)cs_node, offs, UBIFS_CS_NODE_SZ); in get_cs_sqnum() 787 ret = ubifs_scan_a_node(c, cs_node, UBIFS_CS_NODE_SZ, lnum, offs, 0); in get_cs_sqnum() 792 if (cs_node->ch.node_type != UBIFS_CS_NODE) { in get_cs_sqnum() 793 dbg_err("Node a CS node, type is %d", cs_node->ch.node_type); in get_cs_sqnum() 796 if (le64_to_cpu(cs_node->cmt_no) != c->cmt_no) { in get_cs_sqnum() 798 (unsigned long long)le64_to_cpu(cs_node->cmt_no), in get_cs_sqnum() 802 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum); in get_cs_sqnum() [all …]
|