diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-11-07 01:30:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-07 02:50:42 +0100 |
commit | 3a49f3d2a10dfb27411d321900197a3d6c52405b (patch) | |
tree | 0f7073139fddf2dc6d1b1166a4d87458d3836ede /include/misc | |
parent | mm: use 'unsigned int' for compound_dtor/compound_order on 64BIT (diff) | |
download | linux-3a49f3d2a10dfb27411d321900197a3d6c52405b.tar.xz linux-3a49f3d2a10dfb27411d321900197a3d6c52405b.zip |
fs/proc/array.c: set overflow flag in case of error
For now in task_name() we ignore the return code of string_escape_str()
call. This is not good if buffer suddenly becomes not big enough. Do the
proper error handling there.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions