fs/proc/array.c: convert to use string_escape_str()
authorAndy Shevchenko <[email protected]>
Thu, 12 Feb 2015 23:01:11 +0000 (15:01 -0800)
committerLinus Torvalds <[email protected]>
Fri, 13 Feb 2015 02:54:12 +0000 (18:54 -0800)
commitedc924e023ae2022fc29f1246e115c610c9abf38
tree09417a3d57aa78bc11ae8a35d2aca4b0c627db1c
parent198d1597cc5a12d04af18b69338a5b1d66ee7020
fs/proc/array.c: convert to use string_escape_str()

Instead of custom approach let's use string_escape_str() to escape a given
string (task_name in this case).

Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/array.c