Commit d06182ca authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: fix bch2_acl_chmod()

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 34b8e552
...@@ -377,6 +377,7 @@ int bch2_acl_chmod(struct btree_trans *trans, ...@@ -377,6 +377,7 @@ int bch2_acl_chmod(struct btree_trans *trans,
goto err; goto err;
} }
new->k.p = iter->pos;
bch2_trans_update(trans, BTREE_INSERT_ENTRY(iter, &new->k_i)); bch2_trans_update(trans, BTREE_INSERT_ENTRY(iter, &new->k_i));
*new_acl = acl; *new_acl = acl;
acl = NULL; acl = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment