sysfs, kernfs: make sysfs_super_info->ns const
authorTejun Heo <tj@kernel.org>
Thu, 28 Nov 2013 19:54:37 +0000 (14:54 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Nov 2013 02:09:27 +0000 (18:09 -0800)
commit51a35e9fd0f229d2f84455ee7e85a5d30fa35594
treea109ef77fa70af2a012e7a22ea785d0446ee7a56
parentccc532dc12af9dd95dc1cd13e9a6d5f8f08c0842
sysfs, kernfs: make sysfs_super_info->ns const

Add const qualifier to sysfs_super_info->ns so that it's consistent
with other namespace tag usages in sysfs.  Because kobject doesn't use
const qualifier for namespace tags, this ends up requiring an explicit
cast to drop const qualifier in free_sysfs_super_info().

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/mount.c
fs/sysfs/sysfs.h