aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/sysfs.c
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2017-07-18 12:06:17 +0800
committerAlex Shi <alex.shi@linaro.org>2017-07-18 12:06:17 +0800
commitb8f0ea4f0a4a93c5bb0cd0db7a606e7d476d2179 (patch)
tree6757f8ff8dcc7662593b4f13526c50f7daef08bf /fs/ext4/sysfs.c
parent7c462394b89f5f8dd313873b27300eba4a7ee721 (diff)
parentf0cd77ded5127168b1b83ca2f366ee17e9c0586f (diff)
Merge tag 'v4.9.38' into linux-linaro-lsk-v4.9lsk-v4.9-17.07
This is the 4.9.38 stable release
Diffstat (limited to 'fs/ext4/sysfs.c')
-rw-r--r--fs/ext4/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/sysfs.c b/fs/ext4/sysfs.c
index 42145be5c6b4..5dc655e410b4 100644
--- a/fs/ext4/sysfs.c
+++ b/fs/ext4/sysfs.c
@@ -100,7 +100,7 @@ static ssize_t reserved_clusters_store(struct ext4_attr *a,
int ret;
ret = kstrtoull(skip_spaces(buf), 0, &val);
- if (!ret || val >= clusters)
+ if (ret || val >= clusters)
return -EINVAL;
atomic64_set(&sbi->s_resv_clusters, val);