projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'xfs-for-linus-v3.12-rc1' of git://oss.sgi.com/xfs/xfs
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
firewire
/
core-cdev.c
diff --git
a/drivers/firewire/core-cdev.c
b/drivers/firewire/core-cdev.c
index ac1b43a0428531273c4fdaefd56a0b83f1545ce2..d7d5c8af92b9754fa79aa632c69d9ffc1fb27420 100644
(file)
--- 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 =
!!(gfp_mask & __GFP_WAIT)
;
unsigned long flags;
int ret;