commit | 1f244dc5213960f76e7463bbb5719c331045bbc9 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Fri Oct 26 23:34:39 2018 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Fri Oct 26 23:34:39 2018 +0200 |
tree | c75eb162cce11f7e3b717bce0cc80609dbfb11bf | |
parent | babf4770be0adc69e6d2de150f4040f175e24beb [diff] |
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: Miklos Szeredi <mszeredi@redhat.com>