aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/md/bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c
index 4fd9d6aeff6a..5a2c75499824 100644
--- a/drivers/md/bitmap.c
+++ b/drivers/md/bitmap.c
@@ -846,7 +846,7 @@ static void bitmap_file_set_bit(struct bitmap *bitmap, sector_t block)
846 if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags)) 846 if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags))
847 set_bit(bit, kaddr); 847 set_bit(bit, kaddr);
848 else 848 else
849 test_and_set_bit_le(bit, kaddr); 849 set_bit_le(bit, kaddr);
850 kunmap_atomic(kaddr); 850 kunmap_atomic(kaddr);
851 pr_debug("set file bit %lu page %lu\n", bit, page->index); 851 pr_debug("set file bit %lu page %lu\n", bit, page->index);
852 /* record page number so it gets flushed to disk when unplug occurs */ 852 /* record page number so it gets flushed to disk when unplug occurs */
@@ -868,7 +868,7 @@ static void bitmap_file_clear_bit(struct bitmap *bitmap, sector_t block)
868 if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags)) 868 if (test_bit(BITMAP_HOSTENDIAN, &bitmap->flags))
869 clear_bit(bit, paddr); 869 clear_bit(bit, paddr);
870 else 870 else
871 test_and_clear_bit_le(bit, paddr); 871 clear_bit_le(bit, paddr);
872 kunmap_atomic(paddr); 872 kunmap_atomic(paddr);
873 if (!test_page_attr(bitmap, page->index, BITMAP_PAGE_NEEDWRITE)) { 873 if (!test_page_attr(bitmap, page->index, BITMAP_PAGE_NEEDWRITE)) {
874 set_page_attr(bitmap, page->index, BITMAP_PAGE_PENDING); 874 set_page_attr(bitmap, page->index, BITMAP_PAGE_PENDING);