Re: [PATCH] ext4: check return value of kstrtoull correctly in reserved_clusters_store

From: Theodore Ts'o
Date: Fri Jun 23 2017 - 01:09:57 EST


On Thu, Jun 15, 2017 at 05:57:30PM +0800, Chao Yu wrote:
> 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.
>
> Signed-off-by: Chao Yu <yuchao0@xxxxxxxxxx>
> Signed-off-by: Miao Xie <miaoxie@xxxxxxxxxx>

Thanks, applied.

- Ted