summaryrefslogtreecommitdiff
path: root/drivers/md/persistent-data/dm-bitset.h
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2016-10-05 17:40:39 +0300
committerMike Snitzer <snitzer@redhat.com>2017-02-16 21:12:50 +0300
commit9b696229aa7de356675a938c6c8a70b46085ed66 (patch)
tree19ab9da696f91ed4987a091854d8a8cd8dd6a5bb /drivers/md/persistent-data/dm-bitset.h
parent683bb1a3742bb0c8768711aa5ff1034d92e447f2 (diff)
downloadlinux-9b696229aa7de356675a938c6c8a70b46085ed66.tar.xz
dm persistent data: add cursor skip functions to the cursor APIs
Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/persistent-data/dm-bitset.h')
-rw-r--r--drivers/md/persistent-data/dm-bitset.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/persistent-data/dm-bitset.h b/drivers/md/persistent-data/dm-bitset.h
index a08636898a43..df888da04ee1 100644
--- a/drivers/md/persistent-data/dm-bitset.h
+++ b/drivers/md/persistent-data/dm-bitset.h
@@ -197,6 +197,7 @@ int dm_bitset_cursor_begin(struct dm_disk_bitset *info,
void dm_bitset_cursor_end(struct dm_bitset_cursor *c);
int dm_bitset_cursor_next(struct dm_bitset_cursor *c);
+int dm_bitset_cursor_skip(struct dm_bitset_cursor *c, uint32_t count);
bool dm_bitset_cursor_get_value(struct dm_bitset_cursor *c);
/*----------------------------------------------------------------*/