Skip to content

Commit 9eccab6

Browse files
committed
Rename path_read_alternate to path_read_no_d_path
1 parent fe72605 commit 9eccab6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

fact-ebpf/src/bpf/bound_path.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ __always_inline static struct bound_path_t* path_read(struct path* path) {
4343
return _path_read(path, true);
4444
}
4545

46-
__always_inline static struct bound_path_t* path_read_alternate(struct path* path) {
46+
__always_inline static struct bound_path_t* path_read_no_d_path(struct path* path) {
4747
return _path_read(path, false);
4848
}
4949

fact-ebpf/src/bpf/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ int BPF_PROG(trace_path_unlink, struct path* dir, struct dentry* dentry) {
7171
if (path_unlink_supports_bpf_d_path) {
7272
path = path_read(dir);
7373
} else {
74-
path = path_read_alternate(dir);
74+
path = path_read_no_d_path(dir);
7575
}
7676

7777
if (path == NULL) {

0 commit comments

Comments
 (0)