]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libnvdimm: use generic iostat interfaces
authorToshi Kani <toshi.kani@hpe.com>
Wed, 19 Oct 2016 14:19:44 +0000 (08:19 -0600)
committerDan Williams <dan.j.williams@intel.com>
Wed, 19 Oct 2016 15:53:26 +0000 (08:53 -0700)
commit8d7c22ac0c036978a072b7e13c607b5402c474e0
treeb50717d21aa2beffb83beadde1b2c232c41e17c9
parent1001354ca34179f3db924eb66672442a173147dc
libnvdimm: use generic iostat interfaces

nd_iostat_start() and nd_iostat_end() implement the same functionality
that generic_start_io_acct() and generic_end_io_acct() already provide.

Change nd_iostat_start() and nd_iostat_end() to call the generic iostat
interfaces.  There is no change in the nd interfaces.

Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/core.c
drivers/nvdimm/nd.h