diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-03-23 19:40:56 +0100 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2012-03-23 19:40:56 +0100 |
commit | e94f7ba124bfbd3898f620c46891ebcfb9cf20d0 (patch) | |
tree | cd7e54dadb4a7617b0fbbd6aaedbcbce4d3e43c4 /fs/nilfs2/the_nilfs.c | |
parent | cifs: allow caller to specify completion op when allocating writedata (diff) | |
download | linux-e94f7ba124bfbd3898f620c46891ebcfb9cf20d0.tar.xz linux-e94f7ba124bfbd3898f620c46891ebcfb9cf20d0.zip |
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>
Diffstat (limited to 'fs/nilfs2/the_nilfs.c')
0 files changed, 0 insertions, 0 deletions