Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377607
b: refs/heads/master
c: a1d8d9a
h: refs/heads/master
i:
  377605: f2fc5de
  377603: b465319
  377599: 6bf9df4
v: v3
  • Loading branch information
Theodore Ts'o committed Jun 6, 2013
1 parent 3fa8dc0 commit 54b844a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5dc23bdd5f846ef868e82f789dfd9b13093f9ba6
refs/heads/master: a1d8d9a757cd46e044a3f6061c315eda14bf697e
2 changes: 2 additions & 0 deletions trunk/fs/ext4/page-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@ static int io_submit_init_bio(struct ext4_io_submit *io,
struct bio *bio;

bio = bio_alloc(GFP_NOIO, min(nvecs, BIO_MAX_PAGES));
if (!bio)
return -ENOMEM;
bio->bi_sector = bh->b_blocknr * (bh->b_size >> 9);
bio->bi_bdev = bh->b_bdev;
bio->bi_end_io = ext4_end_bio;
Expand Down

0 comments on commit 54b844a

Please sign in to comment.