diff options
author | Barret Rhoden <[email protected]> | 2020-09-04 09:53:32 -0400 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-09-04 09:16:58 -0700 |
commit | 7b81ce7cdcef3a3ae71eb3fb863433c646b4a2f4 (patch) | |
tree | f9881dae5e1b7b38bc06f5cec665f6ff34868cf4 /scripts/gdb | |
parent | 59126901f200f5fc907153468b03c64e0081b6e6 (diff) |
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: 716308a5331b ("init: add an init_stat helper")
Signed-off-by: Barret Rhoden <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions