mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
kobject: make kset_get_ownership() 'static'
kset_get_ownership() is only used in lib/kobject.c, so make it 'static'. Signed-off-by: Eric Biggers <[email protected]> Reviewed-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
1 parent
7e9586bab2
commit
7ab35a14de
1 file changed
+1
-1
+1
-1
@@ -887,7 +887,7 @@ static void kset_release(struct kobject *kobj)
|
||||
kfree(kset);
|
||||
}
|
||||
|
||||
void kset_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid)
|
||||
static void kset_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid)
|
||||
{
|
||||
if (kobj->parent)
|
||||
kobject_get_ownership(kobj->parent, uid, gid);
|
||||
|
||||
Reference in new issue
Block a user