# Re: \[PATCH v6 5/9\] device: add device\_change\_owner()

- From: Greg Kroah-Hartman \<gregkh@linuxfoundation.org\>
- Date: 2020-02-26 08:16:21 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/02/5875585
- Thread: https://ratatoskr.run/netdev/2020/02/5874614/t.md

```text
On Tue, Feb 25, 2020 at 02:19:34PM +0100, Christian Brauner wrote:
> Add a helper to change the owner of a device's sysfs entries. This
> needs to happen when the ownership of a device is changed, e.g. when
> moving network devices between network namespaces.
> This function will be used to correctly account for ownership changes,
> e.g. when moving network devices between network namespaces.
> 
> Signed-off-by: Christian Brauner <redacted>

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
```
