Skip to content
Commit f78570dd authored by Jeff Layton's avatar Jeff Layton Committed by Al Viro
Browse files

audit: remove unnecessary NULL ptr checks from do_path_lookup



As best I can tell, whenever retval == 0, nd->path.dentry and nd->inode
are also non-NULL. Eliminate those checks and the superfluous
audit_context check.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 79360ddd
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