Skip to content
Commit f8ad495a authored by Dan Carpenter's avatar Dan Carpenter Committed by Alex Elder
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarAlex Elder <elder@dreamhost.com>
parent 76aa542f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment