summary refs log tree commit diff
path: root/fs/tracefs
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2018-07-27 21:33:27 +0000
committerDavid S. Miller <davem@davemloft.net>2018-07-29 13:11:28 -0700
commitd1753390274f7760e5b593cb657ea34f0617e559 (patch)
treebf1b53ec2bd412bbee30ef32128769447b31bb86 /fs/tracefs
parentebe023a4248834f774d537898898ce7bcbec0958 (diff)
downloadlinux-d1753390274f7760e5b593cb657ea34f0617e559.tar.gz
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>
Diffstat (limited to 'fs/tracefs')
0 files changed, 0 insertions, 0 deletions