commit | 0666a3aee762cd4f7981c2eed0fd8cab87533539 | [log] [tgz] |
---|---|---|
author | Christian Brauner <christian.brauner@ubuntu.com> | Thu Feb 27 04:37:12 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 26 20:07:25 2020 -0800 |
tree | 777513bd25867a6d981901eb0987fb90fcdd68ee | |
parent | f70ce185687bbe4e2d7ff126a8c890631f5fc2af [diff] |
sysfs: add sysfs_link_change_owner() Add a helper to change the owner of a sysfs link. 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>