summaryrefslogtreecommitdiff
path: root/block/fops.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/fops.c')
-rw-r--r--block/fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/fops.c b/block/fops.c
index 57a53e0d1016..bb6642b45937 100644
--- a/block/fops.c
+++ b/block/fops.c
@@ -65,7 +65,7 @@ static ssize_t __blkdev_direct_IO_simple(struct kiocb *iocb,
if (nr_pages <= DIO_INLINE_BIO_VECS)
vecs = inline_vecs;
else {
- vecs = kmalloc_objs(struct bio_vec, nr_pages, GFP_KERNEL);
+ vecs = kmalloc_objs(struct bio_vec, nr_pages);
if (!vecs)
return -ENOMEM;
}