diff options
author | Yisheng Xie <xieyisheng1@huawei.com> | 2018-05-21 14:58:02 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2018-05-31 17:11:58 +0300 |
commit | b4df86085af9d3f456bed8245cede7c4413dcf83 (patch) | |
tree | bf74ddc01902c32c84677d5b4321b5561f58746d /init/do_mounts_md.c | |
parent | 6f0911a666d1f99ff72e7848ddee36af7bbce050 (diff) | |
download | linux-b4df86085af9d3f456bed8245cede7c4413dcf83.tar.xz |
ima: use match_string() helper
match_string() returns the index of an array for a matching string,
which can be used intead of open coded variant.
Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'init/do_mounts_md.c')
0 files changed, 0 insertions, 0 deletions