"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "drbd/drbd-kernel-compat/tests/bio_alloc_has_5_params.c" between
drbd-9.1.8.tar.gz and drbd-9.1.9.tar.gz

About: DRBD (9.x) is a block device which is designed to build high availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a "network RAID-1". The driver code got integrated into the vanilla Linux kernel.

bio_alloc_has_5_params.c  (drbd-9.1.8):bio_alloc_has_5_params.c  (drbd-9.1.9)
/* { "version": "v5.17-rc3", "commit": "07888c665b405b1cd3577ddebfeb74f4717a84c4 ", "comment": "bio_alloc got two new arguments", "author": "Christoph Hellwig <h ch@lst.de>", "date": "Mon Jan 24 10:11:05 2022 +0100" } */ /* { "version": "v5.17-rc3", "commit": "07888c665b405b1cd3577ddebfeb74f4717a84c4 ", "comment": "bio_alloc got two new arguments", "author": "Christoph Hellwig <h ch@lst.de>", "date": "Mon Jan 24 10:11:05 2022 +0100" } */
/* note: this result is also valid for bio_alloc_bioset, since the same /* note: this result is also valid for bio_alloc_bioset, since the same
signature change was made there in the same patch series. */ signature change was made there in the same patch series. */
#include <linux/bio.h> #include <linux/bio.h>
struct bio *foo(struct block_device *bdev, unsigned short nr_vecs, struct bio *foo(struct block_device *bdev, unsigned short nr_vecs,
unsigned int opf, gfp_t gfp_mask, struct bio_set *bs) unsigned int opf, gfp_t gfp_mask)
{ {
return bio_alloc(bdev, nr_vecs, opf, gfp_mask, bs); return bio_alloc(bdev, nr_vecs, opf, gfp_mask);
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)