aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memblock.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-06-11 14:02:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-11 09:06:11 -0700
commitee0ec1946ec2aa11930bfa62a2b12d35256122c2 (patch)
tree86d4e71a5cd6cf8924918faf09c528119f4f6d3a /mm/memblock.c
parent6b0e43db2855db06b822cde88416366e985cc113 (diff)
downloadlinux-ee0ec1946ec2aa11930bfa62a2b12d35256122c2.tar.gz
lustre: ptlrpc: Replace uses of OBD_{ALLOC,FREE}_LARGE
Replace uses of OBD_ALLOC_LARGE by libcfs_kvzalloc and OBD_FREE_LARGE by kvfree. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression ptr,size; @@ - OBD_ALLOC_LARGE(ptr,size) + ptr = libcfs_kvzalloc(size, GFP_NOFS) @@ expression ptr,size; @@ - OBD_FREE_LARGE(ptr, size); + kvfree(ptr); // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/memblock.c')
0 files changed, 0 insertions, 0 deletions