Merge tag 'libnvdimm-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Jun 2020 20:04:36 +0000 (13:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Jun 2020 20:04:36 +0000 (13:04 -0700)
Pull libnvdimm updates from Dan Williams:
 "Small collection of cleanups to rework usage of ->queuedata and the
  GUID api"

* tag 'libnvdimm-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
  nvdimm/pmem: stop using ->queuedata
  nvdimm/btt: stop using ->queuedata
  nvdimm/blk: stop using ->queuedata
  libnvdimm: Replace guid_copy() with import_guid() where it makes sense

1  2 
drivers/nvdimm/blk.c
drivers/nvdimm/btt.c
drivers/nvdimm/pmem.c

@@@ -176,11 -176,8 +176,10 @@@ static blk_qc_t nd_blk_make_request(str
                return BLK_QC_T_NONE;
  
        bip = bio_integrity(bio);
-       nsblk = q->queuedata;
        rw = bio_data_dir(bio);
 -      do_acct = nd_iostat_start(bio, &start);
 +      do_acct = blk_queue_io_stat(bio->bi_disk->queue);
 +      if (do_acct)
 +              start = bio_start_io_acct(bio);
        bio_for_each_segment(bvec, bio, iter) {
                unsigned int len = bvec.bv_len;
  
Simple merge
Simple merge