diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2013-06-17 21:25:08 +0900 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2013-08-14 11:42:05 -0700 |
commit | dfe4ac28be73833556756dca6771d4274a7f1157 (patch) | |
tree | fe7fb72a5232482e326c0437a183f96d2bac3c75 /security/apparmor/lsm.c | |
parent | 9548906b2bb7ff09e12c013a55d669bef2c8e121 (diff) |
apparmor: remove minimum size check for vmalloc()
This is a follow-up to commit b5b3ee6c "apparmor: no need to delay vfree()".
Since vmalloc() will do "size = PAGE_ALIGN(size);",
we don't need to check for "size >= sizeof(struct work_struct)".
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/lsm.c')
0 files changed, 0 insertions, 0 deletions