git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful semantic
[sfrench/cifs-2.6.git]
/
drivers
/
vhost
/
scsi.c
diff --git
a/drivers/vhost/scsi.c
b/drivers/vhost/scsi.c
index fd6c8b66f06fd97734bfdad5917c7f65de70265d..ff02a942c4d5fb31bf24bc2fd92270592daa119d 100644
(file)
--- a/
drivers/vhost/scsi.c
+++ b/
drivers/vhost/scsi.c
@@
-1404,7
+1404,7
@@
static int vhost_scsi_open(struct inode *inode, struct file *f)
struct vhost_virtqueue **vqs;
int r = -ENOMEM, i;
- vs = kzalloc(sizeof(*vs), GFP_KERNEL | __GFP_NOWARN | __GFP_RE
PEAT
);
+ vs = kzalloc(sizeof(*vs), GFP_KERNEL | __GFP_NOWARN | __GFP_RE
TRY_MAYFAIL
);
if (!vs) {
vs = vzalloc(sizeof(*vs));
if (!vs)