# Re: \[PATCH 1/2\] ext4: remove check for zero nr\_to\_scan in ext4\_es\_scan()

- From: Theodore Ts'o \<tytso@mit.edu\>
- Date: 2021-06-17 20:16:25 
- List: linux-ext4
- Page: https://ratatoskr.run/linux-ext4/2021/06/13436009
- Thread: https://ratatoskr.run/linux-ext4/2021/05/13435888/t.md

```text
On Sat, May 22, 2021 at 06:30:44PM +0800, Zhang Yi wrote:
> After converting fs shrinkers to new scan/count API, we are no longer
> pass zero nr_to_scan parameter to detect the number of objects to free,
> just remove this check.
> 
> Fixes: 1ab6c4997e04 ("fs: convert fs shrinkers to new scan/count API")
> Cc: <redacted> # 3.12+
> Signed-off-by: Zhang Yi <yi.zhang@huawei.com>

Thanks, applied.

					- Ted
```
