commit | e94f7ba124bfbd3898f620c46891ebcfb9cf20d0 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Fri Mar 23 14:40:56 2012 -0400 |
committer | Jeff Layton <jlayton@redhat.com> | Fri Mar 23 14:40:56 2012 -0400 |
tree | cd7e54dadb4a7617b0fbbd6aaedbcbce4d3e43c4 | |
parent | c2e8764009a0245fd24fcd2a63ffbf64236af016 [diff] |
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 <jlayton@redhat.com> Acked-by: Pavel Shilovsky <piastry@etersoft.ru>