Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/jffs2/
Dfs.c34 struct jffs2_full_dnode *old_metadata, *new_metadata; in jffs2_do_setattr() local
139 new_metadata = jffs2_write_dnode(c, f, ri, mdata, mdatalen, alloc_type); in jffs2_do_setattr()
143 if (IS_ERR(new_metadata)) { in jffs2_do_setattr()
147 return PTR_ERR(new_metadata); in jffs2_do_setattr()
164 jffs2_add_full_dnode_to_inode(c, f, new_metadata); in jffs2_do_setattr()
169 f->metadata = new_metadata; in jffs2_do_setattr()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch2701 struct jffs2_full_dnode *old_metadata, *new_metadata;
2877 - new_metadata = jffs2_write_dnode(c, f, ri, mdata, mdatalen, alloc_type);
2883 + new_metadata = jffs2_write_dnode(c, f, ri, NULL, 0, alloc_type);
2884 if (IS_ERR(new_metadata)) {
2888 return PTR_ERR(new_metadata);
2913 jffs2_add_full_dnode_to_inode(c, f, new_metadata);
2919 f->metadata = new_metadata;