Skip to content

Commit ae0fbed

Browse files
James Morsesuryasaimadhu
authored andcommitted
x86/resctrl: Fix stale comment
The comment in rdtgroup_init() refers to the non existent function rdt_mount(), which has now been renamed rdt_get_tree(). Fix the comment. Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Link: https://lkml.kernel.org/r/20200708163929.2783-4-james.morse@arm.com
1 parent e89f85b commit ae0fbed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/x86/kernel/cpu/resctrl/rdtgroup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3196,7 +3196,7 @@ int __init rdtgroup_init(void)
31963196
* It may also be ok since that would enable debugging of RDT before
31973197
* resctrl is mounted.
31983198
* The reason why the debugfs directory is created here and not in
3199-
* rdt_mount() is because rdt_mount() takes rdtgroup_mutex and
3199+
* rdt_get_tree() is because rdt_get_tree() takes rdtgroup_mutex and
32003200
* during the debugfs directory creation also &sb->s_type->i_mutex_key
32013201
* (the lockdep class of inode->i_rwsem). Other filesystem
32023202
* interactions (eg. SyS_getdents) have the lock ordering:

0 commit comments

Comments
 (0)