summaryrefslogtreecommitdiff
path: root/arch/x86/mm/pat.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-06-23 01:08:22 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-15 13:09:05 +0200
commit20417e9a54561cfe70bd9d818d0c00f51bbc89c2 (patch)
tree0cbc336f940f8d217cf6267b1e5d46cca7eacc4f /arch/x86/mm/pat.c
parentf85a3c8f00bd687d26e70b0f58df0041aabde601 (diff)
ext4: check return value of kstrtoull correctly in reserved_clusters_store
commit 1ea1516fbbab2b30bf98c534ecaacba579a35208 upstream. 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 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/mm/pat.c')
0 files changed, 0 insertions, 0 deletions