[PATCH] md: bio leak fix

insert a missing bio_put when writting the md superblock.

Without this we have a steady growth in the "bio" slab.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Neil Brown and committed by Linus Torvalds f8b58edf 314b6a4d

+1
+1
drivers/md/md.c
··· 338 338 339 339 if (atomic_dec_and_test(&rdev->mddev->pending_writes)) 340 340 wake_up(&rdev->mddev->sb_wait); 341 + bio_put(bio); 341 342 return 0; 342 343 } 343 344