diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-09-21 17:37:13 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-28 21:08:02 -0400 |
commit | 63f5fce8c22d6a6cab326db5816c656635367d48 (patch) | |
tree | 532999218e37cabad204e9f8fdfe4122b33d3a5f /fs/bcachefs/acl.c | |
parent | 3d1def0f39c3813ddf04c4c300a052b75697079d (diff) |
bcachefs: fix bch2_acl_chmod()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/acl.c')
-rw-r--r-- | fs/bcachefs/acl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/acl.c b/fs/bcachefs/acl.c index 0074b3eb196d..eb6fa4d7c1f6 100644 --- a/fs/bcachefs/acl.c +++ b/fs/bcachefs/acl.c @@ -377,6 +377,7 @@ int bch2_acl_chmod(struct btree_trans *trans, goto err; } + new->k.p = iter->pos; bch2_trans_update(trans, BTREE_INSERT_ENTRY(iter, &new->k_i)); *new_acl = acl; acl = NULL; |