Skip to content
Commit 7b81ce7c authored by Barret Rhoden's avatar Barret Rhoden Committed by Linus Torvalds
Browse files

init: fix error check in clean_path()

init_stat() returns 0 on success, same as vfs_lstat().  When it replaced
vfs_lstat(), the '!' was dropped.

Fixes: 716308a5

 ("init: add an init_stat helper")
Signed-off-by: default avatarBarret Rhoden <brho@google.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 59126901
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment