fs/orangefs/acl.c
Source file repositories/reference/linux-study-clean/fs/orangefs/acl.c
File Facts
- System
- Linux kernel
- Corpus path
fs/orangefs/acl.c- Extension
.c- Size
- 3956 bytes
- Lines
- 154
- Domain
- Core OS
- Bucket
- VFS And Filesystem Core
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
protocol.horangefs-kernel.horangefs-bufmap.hlinux/posix_acl_xattr.h
Detected Declarations
function __orangefs_set_aclfunction orangefs_set_acl
Annotated Snippet
if (error) {
gossip_err("%s: posix_acl_update_mode err: %d\n",
__func__,
error);
return error;
}
if (inode->i_mode != iattr.ia_mode)
iattr.ia_valid = ATTR_MODE;
}
rc = __orangefs_set_acl(inode, acl, type);
if (!rc && (iattr.ia_valid == ATTR_MODE))
rc = __orangefs_setattr_mode(dentry, &iattr);
return rc;
}
Annotation
- Immediate include surface: `protocol.h`, `orangefs-kernel.h`, `orangefs-bufmap.h`, `linux/posix_acl_xattr.h`.
- Detected declarations: `function __orangefs_set_acl`, `function orangefs_set_acl`.
- Atlas domain: Core OS / VFS And Filesystem Core.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.