diff options
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | 2013-11-13 21:23:20 +0100 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2014-03-07 18:15:46 +0100 |
commit | 61997c4383c28fe93fb053295562ff6482ef5c07 (patch) | |
tree | 4db0680a4246655d9176a46bc0b60d520da13a17 /net/key | |
parent | integrity: fix checkpatch errors (diff) | |
download | linux-61997c4383c28fe93fb053295562ff6482ef5c07.tar.xz linux-61997c4383c28fe93fb053295562ff6482ef5c07.zip |
ima: return d_name.name if d_path fails
This is a small refactoring so ima_d_path() returns dentry name
if path reconstruction fails. It simplifies callers actions
and removes code duplication.
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions