Skip to content
Commit dfe4ac28 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by John Johansen
Browse files

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: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 9548906b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment