mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
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
This commit is contained in:
parent
e89f85b917
commit
ae0fbedd2a
@ -3196,7 +3196,7 @@ int __init rdtgroup_init(void)
|
||||
* It may also be ok since that would enable debugging of RDT before
|
||||
* resctrl is mounted.
|
||||
* The reason why the debugfs directory is created here and not in
|
||||
* rdt_mount() is because rdt_mount() takes rdtgroup_mutex and
|
||||
* rdt_get_tree() is because rdt_get_tree() takes rdtgroup_mutex and
|
||||
* during the debugfs directory creation also &sb->s_type->i_mutex_key
|
||||
* (the lockdep class of inode->i_rwsem). Other filesystem
|
||||
* interactions (eg. SyS_getdents) have the lock ordering:
|
||||
|
Loading…
Reference in New Issue
Block a user