Tyler Hicks d175339027 sysfs: Fix regression when adding a file to an existing group
Commit 5f81880d5204 ("sysfs, kobject: allow creating kobject belonging
to arbitrary users") incorrectly changed the argument passed as the
parent parameter when calling sysfs_add_file_mode_ns(). This caused some
sysfs attribute files to not be added correctly to certain groups.

Fixes: 5f81880d5204 ("sysfs, kobject: allow creating kobject belonging to arbitrary users")
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Reported-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-29 13:11:28 -07:00
..
2018-06-12 16:19:22 -07:00
2018-07-21 16:42:03 -07:00
2018-06-11 10:16:13 -07:00
2018-06-15 07:55:24 +09:00
2018-06-22 06:21:34 +09:00
2018-06-15 18:11:26 -03:00
2018-06-07 17:34:40 -07:00
2018-06-08 17:21:52 -07:00
2018-06-07 17:34:35 -07:00
2018-06-12 15:49:00 -07:00
2018-06-11 08:22:34 -07:00