diff options
author | Eric Biggers <ebiggers@google.com> | 2019-01-09 08:36:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 14:25:26 +0100 |
commit | 7ab35a14de257d5fdac9c7e44c4a1a69967f9fa2 (patch) | |
tree | c34956fbec0c8ddfa6fe5cccfe6df4ed967a22c0 /lib/kobject.c | |
parent | block: rbd: convert to use BUS_ATTR_WO and RO (diff) | |
download | linux-7ab35a14de257d5fdac9c7e44c4a1a69967f9fa2.tar.xz linux-7ab35a14de257d5fdac9c7e44c4a1a69967f9fa2.zip |
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 <ebiggers@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/kobject.c')
-rw-r--r-- | lib/kobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kobject.c b/lib/kobject.c index b72e00fd7d09..aa89edcd2b63 100644 --- a/lib/kobject.c +++ b/lib/kobject.c @@ -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); |