lib/string_helpers: rename "esc" arg to "only"
authorKees Cook <keescook@chromium.org>
Wed, 9 Sep 2015 22:37:16 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commitb40bdb7fb2b8359d5dfe19a91c147465c3d0359b
treeb322288011572fdd5f5f02b480448534f2c824db
parentd89a3f7335bb5d9e572ecc287b300161200364eb
lib/string_helpers: rename "esc" arg to "only"

To further clarify the purpose of the "esc" argument, rename it to "only"
to reflect that it is a limit, not a list of additional characters to
escape.

Signed-off-by: Kees Cook <keescook@chromium.org>
Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/string_helpers.h
lib/string_helpers.c