File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tools/testing/selftests/ftrace/test.d/00basic Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ find_alternate_gid() {
15
15
tac /etc/group | grep -v " :$original_gid :" | head -1 | cut -d: -f3
16
16
}
17
17
18
- mount_tracefs_with_options () {
18
+ remount_tracefs_with_options () {
19
19
local mount_point=" $1 "
20
20
local options=" $2 "
21
21
22
- mount -t tracefs -o " $options " nodev " $mount_point "
22
+ mount -t tracefs -o " remount, $options " nodev " $mount_point "
23
23
24
24
setup
25
25
}
@@ -81,7 +81,7 @@ test_gid_mount_option() {
81
81
82
82
# Unmount existing tracefs instance and mount with new GID
83
83
unmount_tracefs " $mount_point "
84
- mount_tracefs_with_options " $mount_point " " $new_options "
84
+ remount_tracefs_with_options " $mount_point " " $new_options "
85
85
86
86
check_gid " $mount_point " " $other_group "
87
87
@@ -92,7 +92,7 @@ test_gid_mount_option() {
92
92
93
93
# Unmount and remount with the original GID
94
94
unmount_tracefs " $mount_point "
95
- mount_tracefs_with_options " $mount_point " " $mount_options "
95
+ remount_tracefs_with_options " $mount_point " " $mount_options "
96
96
check_gid " $mount_point " " $original_group "
97
97
}
98
98
You can’t perform that action at this time.
0 commit comments