aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrzej Hajda <[email protected]>2015-02-13 14:36:27 -0800
committerLinus Torvalds <[email protected]>2015-02-13 21:21:35 -0800
commit75287a677ba1beab7ca0db948468f44eb23a709f (patch)
tree94ce4c696199aac8372d9e6e5a5162bad64fc54c /include/linux
parenta4bb1e43e22d3cade8f942fc6f95920248eb2fd0 (diff)
kernfs: convert node name allocation to kstrdup_const
sysfs frequently performs duplication of strings located in read-only memory section. Replacing kstrdup by kstrdup_const allows to avoid such operations. Signed-off-by: Andrzej Hajda <[email protected]> Cc: Marek Szyprowski <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Mike Turquette <[email protected]> Cc: Alexander Viro <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: David Rientjes <[email protected]> Cc: Joonsoo Kim <[email protected]> Acked-by: Tejun Heo <[email protected]> Cc: Greg KH <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions