commit | 1ea1516fbbab2b30bf98c534ecaacba579a35208 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri Jun 23 01:08:22 2017 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Jun 23 01:08:22 2017 -0400 |
tree | 4a17a8c944a67eb2e00ea0fadad1fdeda3e967b4 | |
parent | 4a4956249dac0b9b0027949907bff0cd1a9b57fa [diff] |
ext4: check return value of kstrtoull correctly in reserved_clusters_store kstrtoull returns 0 on success, however, in reserved_clusters_store we will return -EINVAL if kstrtoull returns 0, it makes us fail to update reserved_clusters value through sysfs. Fixes: 76d33bca5581b1dd5c3157fa168db849a784ada4 Cc: stable@vger.kernel.org # 4.4 Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Miao Xie <miaoxie@huawei.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>