dm integrity: introduce rw_journal_sectors()
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 29 Apr 2019 12:57:19 +0000 (14:57 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 7 May 2019 20:05:11 +0000 (16:05 -0400)
commit981e8a980dc25a980188b157988d8651c03adc5c
tree1a7b34eecdcc8cce08562be44a1cf4162dd3e095
parent88ad5d1eb147a73ad000c658dff0e5166819e6f2
dm integrity: introduce rw_journal_sectors()

Introduce a function rw_journal_sectors() that takes sector and length
as its arguments instead of a section and the number of sections.

This functions will be used in further patches.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-integrity.c