commit | 9cec9d68ae53aae60b4a1fca4505c75a1d026392 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Wed Oct 10 15:25:21 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Oct 12 00:31:59 2012 -0400 |
tree | da913dbacdb569b382182beb70c660ac93a39e5a | |
parent | 1c2e51e8c162417d2831007ec256ede06c3a0201 [diff] |
audit: no need to walk list in audit_inode if name is NULL If name is NULL then the condition in the loop will never be true. Also, with this change, we can eliminate the check for n->name == NULL since the equivalence check will never be true if it is. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>