• Kent Overstreet's avatar
    bcachefs: Switch to .get_inode_acl() · f39bae2e
    Kent Overstreet authored
    .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>
    f39bae2e
fs.c 53.3 KB