summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/file.c
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2020-02-27 04:37:13 +0100
committerDavid S. Miller <davem@davemloft.net>2020-02-26 20:07:25 -0800
commit303a42769c4c4d8e5e3ad928df87eb36f8c1fa60 (patch)
treecfe2a546d0f14cffd03044ac8e7756e8646e46a5 /fs/sysfs/file.c
parent0666a3aee762cd4f7981c2eed0fd8cab87533539 (diff)
downloadlinux-303a42769c4c4d8e5e3ad928df87eb36f8c1fa60.tar.gz
linux-303a42769c4c4d8e5e3ad928df87eb36f8c1fa60.tar.bz2
linux-303a42769c4c4d8e5e3ad928df87eb36f8c1fa60.zip
sysfs: add sysfs_group{s}_change_owner()
Add helpers to change the owner of sysfs groups. This function will be used to correctly account for kobject ownership changes, e.g. when moving network devices between network namespaces. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/sysfs/file.c')
0 files changed, 0 insertions, 0 deletions