X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Ffirewire%2Fcore-cdev.c;h=36a7c2d89a010e7a567224c89a01a2ebe0c8fd20;hb=b0ceed06855ffb4c72e677c7262c198636f508f3;hp=2a3973a7c44179457f635196696bc78e756a76e1;hpb=af469b374831f48744c14b60d3e6c928c5ce2ef0;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c index 2a3973a7c441..36a7c2d89a01 100644 --- a/drivers/firewire/core-cdev.c +++ b/drivers/firewire/core-cdev.c @@ -486,7 +486,7 @@ static int ioctl_get_info(struct client *client, union ioctl_arg *arg) static int add_client_resource(struct client *client, struct client_resource *resource, gfp_t gfp_mask) { - bool preload = !!(gfp_mask & __GFP_WAIT); + bool preload = gfpflags_allow_blocking(gfp_mask); unsigned long flags; int ret;