diff --git a/[refs] b/[refs] index b2fc7904b3e9..b4b741142230 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 87092698c665e0a358caf9825ae13114343027e8 +refs/heads/master: 059ea3318c8ede71851a52b4359fbf1ab0cec301 diff --git a/trunk/fs/bio.c b/trunk/fs/bio.c index cf747378b977..d4f06327c810 100644 --- a/trunk/fs/bio.c +++ b/trunk/fs/bio.c @@ -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;