https://github.com/torvalds/linux
Revision 7b81ce7cdcef3a3ae71eb3fb863433c646b4a2f4 authored by Barret Rhoden on 04 September 2020, 13:53:32 UTC, committed by Linus Torvalds on 04 September 2020, 16:16:58 UTC
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 <brho@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 5912690
History
Tip revision: 7b81ce7cdcef3a3ae71eb3fb863433c646b4a2f4 authored by Barret Rhoden on 04 September 2020, 13:53:32 UTC
init: fix error check in clean_path()
Tip revision: 7b81ce7

back to top