diff options
author | Christian Brauner <christian.brauner@ubuntu.com> | 2020-02-27 04:37:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-26 20:07:25 -0800 |
commit | f70ce185687bbe4e2d7ff126a8c890631f5fc2af (patch) | |
tree | fa62764ac154c9e86c2fa446aa534eebefeedb32 /lib/nodemask.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 <gregkh@linuxfoundation.org>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/nodemask.c')
0 files changed, 0 insertions, 0 deletions