projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15afd1c
)
dio: Remove code handling bio_alloc failure with __GFP_WAIT
author
Nikanth Karthikesan
<knikanth@suse.de>
Wed, 15 Apr 2009 05:05:52 +0000
(10:35 +0530)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 15 Apr 2009 10:10:13 +0000
(12:10 +0200)
Remove code handling bio_alloc failure with __GFP_WAIT.
GFP_KERNEL implies __GFP_WAIT.
Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/direct-io.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/direct-io.c
b/fs/direct-io.c
index da258e7249cc718b8a46ddec08ba04a62e7e4790..05763bbc2050b8ed917d593275b6ba37d1e8282b 100644
(file)
--- a/
fs/direct-io.c
+++ b/
fs/direct-io.c
@@
-307,8
+307,6
@@
dio_bio_alloc(struct dio *dio, struct block_device *bdev,
struct bio *bio;
bio = bio_alloc(GFP_KERNEL, nr_vecs);
- if (bio == NULL)
- return -ENOMEM;
bio->bi_bdev = bdev;
bio->bi_sector = first_sector;