diff options
author | Christian Brauner <[email protected]> | 2020-02-27 04:37:11 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-02-26 20:07:25 -0800 |
commit | f70ce185687bbe4e2d7ff126a8c890631f5fc2af (patch) | |
tree | fa62764ac154c9e86c2fa446aa534eebefeedb32 /net/switchdev/switchdev.c | |
parent | d1c73cbdf9d3f6181a50398568372ef41b1f485c (diff) |
sysfs: add sysfs_file_change_owner()
Add helpers to change the owner of a sysfs files.
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 <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions