]> git.karo-electronics.de Git - karo-tx-linux.git/commit
seq_file: reuse string_escape_str()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 21 Oct 2015 22:03:59 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:59 +0000 (09:03 +1100)
commit850809930f8325667016ab65dbd5658b233ecea6
tree50a406239f26e3f78fc62b0c16f7c5f28919c46a
parentfceaf7adc547e80adaf9bea7471023b828d1acd7
seq_file: reuse string_escape_str()

strint_escape_str() escapes input string by given criteria.  In case of
seq_escape() the criteria is to convert some characters to their octal
representation.

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>
fs/seq_file.c