We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4b9b151 + 843e6c2 commit f95ae88Copy full SHA for f95ae88
2 files changed
fs/nova/dir.c
@@ -62,6 +62,7 @@ int nova_insert_dir_tree(struct super_block *sb,
62
63
node->hash = hash;
64
node->direntry = direntry;
65
+ nova_update_range_node_checksum(node); /* update checksum */
66
ret = nova_insert_range_node(&sih->rb_tree, node, NODE_DIR);
67
if (ret) {
68
nova_free_dir_node(node);
fs/nova/gc.c
@@ -201,6 +201,7 @@ static int nova_gc_assign_dentry(struct super_block *sb,
201
if (found == 1 && hash == ret_node->hash) {
202
if (ret_node->direntry == old_dentry)
203
ret_node->direntry = new_dentry;
204
+ nova_update_range_node_checksum(ret_node); /* update checksum */
205
}
206
207
return ret;
0 commit comments