diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-12-19 15:03:36 +0530 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-02-17 16:19:39 +0100 |
commit | d9216c8d9a0bb25e3a9984c0395e27a24113431b (patch) | |
tree | f98259d3a5a69f195d841c3627fd9b9e57d7ad3e /drivers/block/drbd/drbd_bitmap.c | |
parent | fbe0d91ca32243b3471ddd5fc50f954785c71a82 (diff) | |
download | linux-d9216c8d9a0bb25e3a9984c0395e27a24113431b.tar.gz linux-d9216c8d9a0bb25e3a9984c0395e27a24113431b.tar.xz |
drivers: block: Remove unused function drbd_bm_write_lazy() in drbd_bitmap.c
Remove unused function drbd_bm_write_lazy() in drbd/drbd_bitmap.c.
This eliminates the following warning in drbd/drbd_bitmap.c:
drivers/block/drbd/drbd_bitmap.c:1208:5: warning: no previous prototype for ‘drbd_bm_write_lazy’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_bitmap.c')
-rw-r--r-- | drivers/block/drbd/drbd_bitmap.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/block/drbd/drbd_bitmap.c b/drivers/block/drbd/drbd_bitmap.c index 597f111df67b..6b3788483de6 100644 --- a/drivers/block/drbd/drbd_bitmap.c +++ b/drivers/block/drbd/drbd_bitmap.c @@ -1201,16 +1201,6 @@ int drbd_bm_write_all(struct drbd_conf *mdev) __must_hold(local) } /** - * drbd_bm_lazy_write_out() - Write bitmap pages 0 to @upper_idx-1, if they have changed. - * @mdev: DRBD device. - * @upper_idx: 0: write all changed pages; +ve: page index to stop scanning for changed pages - */ -int drbd_bm_write_lazy(struct drbd_conf *mdev, unsigned upper_idx) __must_hold(local) -{ - return bm_rw(mdev, WRITE, BM_AIO_COPY_PAGES, upper_idx); -} - -/** * drbd_bm_write_copy_pages() - Write the whole bitmap to its on disk location. * @mdev: DRBD device. * |