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: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: NJeff Layton <jlayton@poochiereds.net> Reviewed-by: NAlexander Bokovoy <ab@samba.org> Signed-off-by: NSteve French <steve.french@primarydata.com>
Showing
想要评论请 注册 或 登录