Re: [PATCH 04/60] block: floppy: use bio_add_page()

2016-10-31 Thread Ming Lei
On Mon, Oct 31, 2016 at 11:26 PM, Christoph Hellwig wrote: > Why not keep the bio_add_page in the same spot as direct assignments > were before? I just want to put adding page after setting bi_bdev. Thanks, Ming Lei

Re: [PATCH 04/60] block: floppy: use bio_add_page()

2016-10-31 Thread Christoph Hellwig
Why not keep the bio_add_page in the same spot as direct assignments were before?

[PATCH 04/60] block: floppy: use bio_add_page()

2016-10-29 Thread Ming Lei
Signed-off-by: Ming Lei --- drivers/block/floppy.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index cdc916a95137..999099d9509d 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c @@ -3807,11 +3807,6 @@ st