Skip to content
Commit 4043cde8 authored by Eric Paris's avatar Eric Paris Committed by Al Viro
Browse files

audit: do not call audit_getname on error



Just a code cleanup really.  We don't need to make a function call just for
it to return on error.  This also makes the VFS function even easier to follow
and removes a conditional on a hot path.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 633b4545
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