Re: [PATCH 2/2] block: remove the i argument to bio_for_each_segment_all

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/25/19 9:03 AM, Christoph Hellwig wrote:
We only have two callers that need the integer loop iterator, and they
can easily maintain it themselves.

Suggested-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Johannes Thumshirn <jthumshirn@xxxxxxx>
---
  block/bio.c                       | 29 ++++++++++-------------------
  block/bounce.c                    |  3 +--
  drivers/md/bcache/btree.c         |  3 +--
  drivers/md/dm-crypt.c             |  3 +--
  drivers/md/raid1.c                |  6 +++---
  drivers/staging/erofs/data.c      |  3 +--
  drivers/staging/erofs/unzip_vle.c |  3 +--
  fs/block_dev.c                    |  6 ++----
  fs/btrfs/compression.c            |  3 +--
  fs/btrfs/disk-io.c                |  4 ++--
  fs/btrfs/extent_io.c              | 10 ++++------
  fs/btrfs/inode.c                  |  8 ++++----
  fs/btrfs/raid56.c                 |  3 +--
  fs/crypto/bio.c                   |  3 +--
  fs/direct-io.c                    |  3 +--
  fs/ext4/page-io.c                 |  3 +--
  fs/ext4/readpage.c                |  3 +--
  fs/f2fs/data.c                    |  9 +++------
  fs/gfs2/lops.c                    |  3 +--
  fs/gfs2/meta_io.c                 |  3 +--
  fs/iomap.c                        |  6 ++-	---
  fs/mpage.c                        |  3 +--
  fs/xfs/xfs_aops.c                 |  3 +--
  include/linux/bio.h               |  5 ++---
  24 files changed, 47 insertions(+), 81 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@xxxxxxx			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux