diff options
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | 2014-10-03 13:40:19 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2014-10-12 05:28:07 +0200 |
commit | 272a6e90ffee1dea39efd6fdf9592edc83a0738e (patch) | |
tree | d083a538be224e4c2a25e2380a789cff8d80e455 /lib/kfifo.c | |
parent | ima: report policy load status (diff) | |
download | linux-272a6e90ffee1dea39efd6fdf9592edc83a0738e.tar.xz linux-272a6e90ffee1dea39efd6fdf9592edc83a0738e.zip |
ima: no need to allocate entry for comment
If a rule is a comment, there is no need to allocate an entry.
Move the checking for comments before allocating the entry.
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'lib/kfifo.c')
0 files changed, 0 insertions, 0 deletions