# Re: \[PATCH\] init: fix error check in clean\_path()

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2020-09-04 16:04:23 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2020/09/187998
- Thread: https://ratatoskr.run/linux-api/2020/07/185462/t.md

```text
On Fri, Sep 04, 2020 at 09:53:32AM -0400, Barret Rhoden wrote:
> init_stat() returns 0 on success, same as vfs_lstat().  When it replaced
> vfs_lstat(), the '!' was dropped.
> 
> Fixes: 716308a5331b ("init: add an init_stat helper")
> Signed-off-by: Barret Rhoden <redacted>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
```
