rbd: use gfp_flags parameter in rbd_header_from_disk()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Apr 2012 20:49:44 +0000 (15:49 -0500)
committerAlex Elder <elder@dreamhost.com>
Mon, 14 May 2012 17:12:35 +0000 (12:12 -0500)
commitf8ad495a8a0277b88c59bf38319e5e944aaf5a4a
treeaf5cff21e0e0d9dd944abd1cf9f4da21d46e0f1c
parent76aa542fb90e3e91edb1146d10ca7cf2cae8e7e9
rbd: use gfp_flags parameter in rbd_header_from_disk()

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.carpenter@oracle.com>
Reviewed-by: Alex Elder <elder@dreamhost.com>
drivers/block/rbd.c