Skip to content
Commit 6d994a7e authored by Rakib Mullick's avatar Rakib Mullick Committed by Linus Torvalds
Browse files

drivers/misc/vmw_balloon.c: determine page allocation flag can_sleep outside loop



In vmballoon_reserve_page(), flags has been passed from the callee
function (vmballoon_inflate here).  So, we can determine can_sleep outside
the loop.

Signed-off-by: default avatarRakib Mullick <rakib.mullick@gmail.com>
Acked-by: default avatarDmitry Torokhov <dtor@vmware.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3fd306c8
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