]> git.itanic.dy.fi Git - linux-stable/commit
cifs: Use kstrtobool() instead of strtobool()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 14 Jan 2023 08:58:15 +0000 (09:58 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 20 Feb 2023 17:48:47 +0000 (11:48 -0600)
commit9f5d1a8cf8a137c4be180560b796e73b2707e337
tree9e8dee7750e8788563ad473deb28731ccdc38fc1
parentc9c3395d5e3dcc6daee66c6908354d47bf98cb0c
cifs: Use kstrtobool() instead of strtobool()

strtobool() is the same as kstrtobool().
However, the latter is more used within the kernel.

In order to remove strtobool() and slightly simplify kstrtox.h, switch to
the other function name.

While at it, include the corresponding header file (<linux/kstrtox.h>)

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Paulo Alcantara <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_debug.c