summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-10-27 15:16:40 +1100
committerNeilBrown <neilb@suse.de>2010-10-28 17:36:11 +1100
commit2b193363ef68667ad717a6723165e0dccf99470f (patch)
treebd45d5186f0edf2b546c4503d794b479d126ad1f /drivers/md/md.h
parent1c4588e9c19cae6209a28c9da2f16a18a610b935 (diff)
downloadop-kernel-dev-2b193363ef68667ad717a6723165e0dccf99470f.zip
op-kernel-dev-2b193363ef68667ad717a6723165e0dccf99470f.tar.gz
md: change type of first arg to sync_page_io.
Currently sync_page_io takes a 'bdev'. Every caller passes 'rdev->bdev'. We will soon want another field out of the rdev in sync_page_io, So just pass the rdev instead of the bdev out of it. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r--drivers/md/md.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index 112a2c3..5ee5371 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -495,7 +495,7 @@ extern void md_flush_request(mddev_t *mddev, struct bio *bio);
extern void md_super_write(mddev_t *mddev, mdk_rdev_t *rdev,
sector_t sector, int size, struct page *page);
extern void md_super_wait(mddev_t *mddev);
-extern int sync_page_io(struct block_device *bdev, sector_t sector, int size,
+extern int sync_page_io(mdk_rdev_t *rdev, sector_t sector, int size,
struct page *page, int rw);
extern void md_do_sync(mddev_t *mddev);
extern void md_new_event(mddev_t *mddev);
OpenPOWER on IntegriCloud