From: Jeff Layton Date: Fri, 23 Mar 2012 18:40:56 +0000 (-0400) Subject: cifs: fix allocation in cifs_write_allocate_pages X-Git-Tag: v3.4-rc1~19^2~2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94f7ba124bfbd3898f620c46891ebcfb9cf20d0;p=pandora-kernel.git cifs: fix allocation in cifs_write_allocate_pages The gfp flags are currently set to __GPF_HIGHMEM, which doesn't allow for any reclaim. Make this more resilient by or'ing that with GFP_KERNEL. Also, get rid of the goto and unify the exit codepath. Signed-off-by: Jeff Layton Acked-by: Pavel Shilovsky --- Reading git-diff-tree failed