Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132349
b: refs/heads/master
c: 059ea33
h: refs/heads/master
i:
  132347: 2407aa6
v: v3
  • Loading branch information
Li Zefan authored and Jens Axboe committed Mar 14, 2009
1 parent f9935af commit d06c314
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87092698c665e0a358caf9825ae13114343027e8
refs/heads/master: 059ea3318c8ede71851a52b4359fbf1ab0cec301
4 changes: 3 additions & 1 deletion trunk/fs/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,10 @@ struct bio *bio_clone(struct bio *bio, gfp_t gfp_mask)

ret = bio_integrity_clone(b, bio, gfp_mask, fs_bio_set);

if (ret < 0)
if (ret < 0) {
bio_put(b);
return NULL;
}
}

return b;
Expand Down

0 comments on commit d06c314

Please sign in to comment.