dcssblk.c (0d8eae7b124e2ddaee00f186fe922450faad0ed7) | dcssblk.c (613b14884b8595e20b9fac4126bf627313827fbe) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * dcssblk.c -- the S/390 block driver for dcss memory 4 * 5 * Authors: Carsten Otte, Stefan Weinhuber, Gerald Schaefer 6 */ 7 8#define KMSG_COMPONENT "dcssblk" --- 851 unchanged lines hidden (view full) --- 860 struct bio_vec bvec; 861 struct bvec_iter iter; 862 unsigned long index; 863 unsigned long page_addr; 864 unsigned long source_addr; 865 unsigned long bytes_done; 866 867 bio = bio_split_to_limits(bio); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * dcssblk.c -- the S/390 block driver for dcss memory 4 * 5 * Authors: Carsten Otte, Stefan Weinhuber, Gerald Schaefer 6 */ 7 8#define KMSG_COMPONENT "dcssblk" --- 851 unchanged lines hidden (view full) --- 860 struct bio_vec bvec; 861 struct bvec_iter iter; 862 unsigned long index; 863 unsigned long page_addr; 864 unsigned long source_addr; 865 unsigned long bytes_done; 866 867 bio = bio_split_to_limits(bio); |
868 if (!bio) 869 return; |
|
868 869 bytes_done = 0; 870 dev_info = bio->bi_bdev->bd_disk->private_data; 871 if (dev_info == NULL) 872 goto fail; 873 if ((bio->bi_iter.bi_sector & 7) != 0 || 874 (bio->bi_iter.bi_size & 4095) != 0) 875 /* Request is not page-aligned. */ --- 160 unchanged lines hidden --- | 870 871 bytes_done = 0; 872 dev_info = bio->bi_bdev->bd_disk->private_data; 873 if (dev_info == NULL) 874 goto fail; 875 if ((bio->bi_iter.bi_sector & 7) != 0 || 876 (bio->bi_iter.bi_size & 4095) != 0) 877 /* Request is not page-aligned. */ --- 160 unchanged lines hidden --- |