diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-08-27 16:49:42 +0300 |
---|---|---|
committer | Steve French <steve.french@primarydata.com> | 2014-12-07 22:47:58 -0600 |
commit | 28e2aed244b1b81e45b105d90ffb82384665dfb7 (patch) | |
tree | 5319be196b8d4cf920048f1734cb7bcc79004a58 /fs/cifs/fscache.c | |
parent | bb1d5ddaf962921a5c3ad4166e3c1b7b70ba5778 (diff) | |
download | op-kernel-dev-28e2aed244b1b81e45b105d90ffb82384665dfb7.zip op-kernel-dev-28e2aed244b1b81e45b105d90ffb82384665dfb7.tar.gz |
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>
Diffstat (limited to 'fs/cifs/fscache.c')
0 files changed, 0 insertions, 0 deletions