Commit 31029f2f authored by Dan Robertson's avatar Dan Robertson Committed by Kent Overstreet
Browse files

bcachefs: Fix bch2_acl_chmod() cleanup on error



Avoid calling kfree on the returned error pointer if
bch2_acl_from_disk fails.

Signed-off-by: default avatarDan Robertson <dan@dlrobertson.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent e8e9607f
Supports Markdown
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