GFS2: use __vmalloc GFP_NOFS for fs-related allocations.
authorOleg Drokin <green@linuxhacker.ru>
Mon, 2 Feb 2015 03:59:54 +0000 (22:59 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 4 Feb 2015 09:58:41 +0000 (09:58 +0000)
commit7456a37d55ced3928fd96615fde0dd739985f0dc
treee16021d877d8b6a1b022031710721a2d977627dd
parent45094a58b1f56fd5942545659f7c1829ae4520eb
GFS2: use __vmalloc GFP_NOFS for fs-related allocations.

leaf_dealloc uses vzalloc as a fallback to kzalloc(GFP_NOFS), so
it clearly does not want any shrinker activity within the fs itself.
convert vzalloc into __vmalloc(GFP_NOFS|__GFP_ZERO) to better achieve
this goal.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/dir.c