Skip to content
Commit 8511d72f authored by Christian Brauner's avatar Christian Brauner Committed by David S. Miller
Browse files

sysfs: fix static inline declaration of sysfs_groups_change_owner()



The CONFIG_SYSFS declaration of sysfs_group_change_owner() is different
from the !CONFIG_SYSFS version and thus causes build failurs when
!CONFIG_SYSFS is set.

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: 303a4276 ("sysfs: add sysfs_group{s}_change_owner()")
Signed-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5c9a9fce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment