Skip to content
Commit f39bae2e authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Switch to .get_inode_acl()



.set_acl() requires a dentry, and if one isn't passed it marks the VFS
inode as not having an ACL.

This has been causing inodes with ACLs to have them "disappear" on
bcachefs filesystem, depending on which path those inodes get pulled
into the cache from.

Switching to .get_inode_acl(), like other local filesystems, fixes this.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 73dc1656
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment