cifs: call strtobool instead of custom implementation
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 27 Aug 2014 13:49:42 +0000 (16:49 +0300)
committerSteve French <steve.french@primarydata.com>
Mon, 8 Dec 2014 04:47:58 +0000 (22:47 -0600)
commit28e2aed244b1b81e45b105d90ffb82384665dfb7
tree5319be196b8d4cf920048f1734cb7bcc79004a58
parentbb1d5ddaf962921a5c3ad4166e3c1b7b70ba5778
cifs: call strtobool instead of custom implementation

Meanwhile it cleans up the code, the behaviour is slightly changed. In case of
providing non-boolean value it will fails with corresponding error. In the
original code the attempt of an update was just ignored in such case.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jeff Layton <jlayton@poochiereds.net>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Signed-off-by: Steve French <steve.french@primarydata.com>
fs/cifs/cifs_debug.c