Skip to content
Commit 1f244dc5 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

ovl: clean up error handling in ovl_get_tmpfile()



If security_inode_copy_up() fails, it should not set new_creds, so no need
for the cleanup (which would've Oops-ed anyway, due to old_creds being
NULL).

Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent babf4770
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