Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] slab: remove SLAB_NOIO

SLAB_NOIO is an alias of GFP_NOIO with a single instance of use.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Christoph Lameter and committed by
Linus Torvalds
55acbda0 a06d72c1

+1 -2
+1 -1
drivers/usb/storage/transport.c
··· 427 427 US_DEBUGP("%s: xfer %u bytes, %d entries\n", __FUNCTION__, 428 428 length, num_sg); 429 429 result = usb_sg_init(&us->current_sg, us->pusb_dev, pipe, 0, 430 - sg, num_sg, length, SLAB_NOIO); 430 + sg, num_sg, length, GFP_NOIO); 431 431 if (result) { 432 432 US_DEBUGP("usb_sg_init returned %d\n", result); 433 433 return USB_STOR_XFER_ERROR;
-1
include/linux/slab.h
··· 20 20 21 21 /* flags for kmem_cache_alloc() */ 22 22 #define SLAB_NOFS GFP_NOFS 23 - #define SLAB_NOIO GFP_NOIO 24 23 #define SLAB_ATOMIC GFP_ATOMIC 25 24 #define SLAB_USER GFP_USER 26 25 #define SLAB_KERNEL GFP_KERNEL