Re: [patch] rbd: use gfp_flags parameter in rbd_header_from_disk()

2012-04-18 Thread Alex Elder
On 03/22/2012 01:33 AM, Dan Carpenter wrote: We should use the gfp_flags that the caller specified instead of GFP_KERNEL here. There is only one caller and it uses GFP_KERNEL, so this change is just a cleanup and doesn't change how the code works. Signed-off-by: Dan

[patch] rbd: use gfp_flags parameter in rbd_header_from_disk()

2012-03-22 Thread Dan Carpenter
We should use the gfp_flags that the caller specified instead of GFP_KERNEL here. There is only one caller and it uses GFP_KERNEL, so this change is just a cleanup and doesn't change how the code works. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/block/rbd.c